postgresql django mac code example Example: create a PostgreSQL user django on mac $ psql -h localhost