11django-simple-import
22====================
33
4- An import tool easy enough your users could use it. django-simple-import aims to keep track of logs
5- and user preferences in the database.
4+ An import tool easy enough your users could use it. django-simple-import aims to keep track of logs
5+ and user preferences in the database.
66
77Project is now stable and feature complete. Of course it's always a good idea to test before deploying.
88
@@ -16,7 +16,7 @@ Project is now stable and feature complete. Of course it's always a good idea to
1616
1717# News
1818
19- 1.17 is released. The most apparent changes are 1.7 compatibility and migration to Django's
19+ 1.17 is released. The most apparent changes are 1.7 compatibility and migration to Django's
2020atomic transactions. Please report any issues. I test against mysql innodb, postgres, and sqlite.
2121
2222## Features
@@ -47,7 +47,7 @@ Define allowed methods to be "imported". Example:
4747 def set_bar(self, value):
4848 self.bar = value
4949 simple_import_methods = ('set_bar',)
50-
50+
5151### settings.py
5252SIMPLE_IMPORT_LAZY_CHOICES: Default True. If enabled simple_import will look up choices when importing. Example:
5353
@@ -56,13 +56,13 @@ SIMPLE_IMPORT_LAZY_CHOICES: Default True. If enabled simple_import will look up
5656If the spreadsheet value is "Monday" it will set the database value to "M."
5757
5858If you need any help, we do consulting and custom development. Just email us at david at burkesoftware.com.
59-
59+
6060
6161## Usage
6262
6363Go to /simple_import/start_import/ or use the admin interface.
6464
65- The screenshots have a django-grappelli like theme. The base templates have no style and are very basic.
65+ The screenshots have a django-grappelli like theme. The base templates have no style and are very basic.
6666See an example of customization [ here] ( https://github.com/burke-software/django-sis/tree/master/templates/simple_import ) .
6767
6868There is also a log of import records. Check out /admin/simple_import/.
@@ -75,7 +75,15 @@ saving a hash.
7575User has some required fields that...aren't really required. Hardcoded to let them pass.
7676
7777### Security
78- I'm working on the assumption staff users are trusted. Only users with change permission
78+ I'm working on the assumption staff users are trusted. Only users with change permission
7979to a field will see it as an option. I have not spent much time looking for ways users could
8080manipulate URLs to run unauthorized imports. Feel free to contribute changes.
8181All import views do require admin "is staff" permission.
82+
83+ ## Testing
84+
85+ If you have [ Fig] ( http://www.fig.sh/ ) and [ Docker] ( https://www.docker.com/ )
86+ installed, then just running ` fig up ` will do everything you need to test
87+ the packages.
88+
89+ Otherwise look at the ` .travis.yml ` file for test dependencies.
0 commit comments