lab-inventory is a Django application used to track inventory and orders in the lab.
The admin interface is the primary tool used to create and update item records, but there is a growing collection of views that can be used to browse the database and generate orders in a format that can be sent off to our purchasing department.
lab-inventory is licensed for you to use under the Gnu Public License, version 3. See COPYING for details
-
Install the package from source:
python setup.py install
. Worth putting in a virtualenv. -
Add
inventory
to your INSTALLED_APPS setting like this:
INSTALLED_APPS = (
...
'inventory',
)
- Include the inventory URLconf in your project urls.py like this::
re_path(r'^inventory/', include('inventory.urls')),
-
Run
python manage.py migrate
to create the inventory models. -
Start the development server and visit http://127.0.0.1:8000/admin/inventory/ to create items, vendors, manufacturers, etc. (you'll need the Admin app enabled).
-
Visit http://127.0.0.1:8000/inventory/ to use views.
Run sh example.sh
to create and run an example of django-lab-inventory.