made the readme and example for the CSV import accessible from the form directly
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
name;manufacturer;component_type;pref_distri;description;datasheet_link;package;image_url;storage_uuid;substorage_path;amount;lot;watermark;param:Resistance;param:Temperature coefficient;param:Tolerance;distri:Mouser
|
||||
1K41;Phycomp;Resistor;;KVG - expired;;R0603;https://t3.ftcdn.net/jpg/02/95/44/22/360_F_295442295_OXsXOmLmqBUfZreTnGo9PREuAPSLQhff.jpg;a4909bb4-4d69-4e58-8fbd-fba4fa62d9fb;bew;1111;4000;0;1330;100;1;gggg
|
|
14
shimatta_kenkyusho/static/example/import_csv/readme.md
Normal file
14
shimatta_kenkyusho/static/example/import_csv/readme.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# The shimatta kenkyusho can import components from a CSV file uploaded to the website
|
||||
|
||||
All parameters are passed as names (e.g. package, manufacturer etc.).
|
||||
|
||||
Component parameters can be set using a prefix ``param:`` followed by the
|
||||
parameter name. The value is then parsed bysed on the parameter type.
|
||||
|
||||
Distributor part numbers can be set similarly by prepending ``distri:``.
|
||||
|
||||
It is also possible to create initial stocks to one storage by passing the
|
||||
storage uuid and/or the path to the storage (as printed in the breadcrumbs) or
|
||||
a combination of a storage uuid and the path from this storage.
|
||||
|
||||
See example for details.
|
Reference in New Issue
Block a user