Added top level menu option for config, and added bulk import to all 4 classes
I also changed the menu top level name to Software because it looks better in the top level.
If you want to move the meny top level just set this in plugins.py
PLUGINS_CONFIG = { 'netbox_slm': { 'top_level_menu': True, }, }
I would suggest a squash, I worked in the repo. Sorry.
I would suggest a squash, I worked in the repo. Sorry.
No problem, we're very happy to receive contributions. I'll clean up and do some testing before merge
Hmm, there seem to be quite some errors when trying to use the import feature.
The output data produced by the Export (CSV) option is not importable itself, so testing is a bit complicated.
All fields which are externally referenced (i.e. foreign keys), need to be manually changed in the csv (or omitted).
Additionally, some of the field validation checks don't work as in the regular form: e.g. stored_location_url validation (being LaxURLField).
For now, I'll try to merge a limited set of fields for importing. Then we can work on adding the other fields later