post_install() {
  echo "Run the following to create/migrate the database:"
  echo "sudo -u postorius django-admin migrate --pythonpath /usr/share/webapps/postorius/ --settings settings"
}

post_upgrade() {
  echo "Run the following to update static files and compress them:"
  echo "sudo -u postorius django-admin collectstatic --pythonpath /usr/share/webapps/postorius --settings settings"
}
