2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

Custom URL validators for more fields

This commit is contained in:
Oliver Walters
2019-09-14 00:08:49 +10:00
parent 4ac8353099
commit 70e07470db
7 changed files with 80 additions and 7 deletions

View File

@ -7,7 +7,7 @@ clean:
rm -rf .tox
rm -f .coverage
update: backup install migrate
update: backup install migrate static
# Perform database migrations (after schema changes are made)
migrate:
@ -15,6 +15,9 @@ migrate:
cd InvenTree && python3 manage.py migrate
cd InvenTree && python3 manage.py migrate --run-syncdb
cd InvenTree && python3 manage.py check
# Collect static files into the correct locations
static:
cd InvenTree && python3 manage.py collectstatic
# Install all required packages
@ -64,4 +67,4 @@ backup:
cd InvenTree && python3 manage.py dbbackup
cd InvenTree && python3 manage.py mediabackup
.PHONY: clean migrate superuser install mysql postgresql style test coverage docreqs docs backup update
.PHONY: clean migrate superuser install mysql postgresql static style test coverage docreqs docs backup update