Merge branch 'main' of ssh://gitea.caret.be:2223/jens/im into main
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Jens Timmerman 2020-10-25 13:24:28 +01:00
commit 1f5262f141
2 changed files with 3 additions and 7 deletions

View File

@ -2,7 +2,7 @@
Pantry inventory management
# Inventory management system written in django - python
The object of this django app is to keep track of which goods you own, when they will expire, when you should consume them and when you shoud buy more.
The object of this django app is to keep track of which goods you own, when they will expire, when you should consume them and when you should buy more.
## features
- Enter items in your pantry (or other locations, with their location) with their expiry date
@ -68,10 +68,6 @@ DATABASES = {
clear migrations and start from empty db
```
rm inventory/migrations/* -rf
python3 manage.py migrate
python3 manage.py createsuperuser
python3 ./manage.py collectstatic
```

View File

@ -4,13 +4,13 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<title>Pantry Inventory</title>
<title>Inventory Management</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="/">Pantry inventory</a>
<a class="navbar-brand" href="/">Inventory Management</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>