Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

config.ssh.forward_agent = true
config.ssh.private_key_path = "deploy/keys/vagrant"
config.ssh.insert_key = false

config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
Expand Down
2 changes: 1 addition & 1 deletion deploy/roles/application/files/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==1.7.3
Django>=1.9,<1.9.99
psycopg2==2.5.4

argparse==1.3.0
Expand Down
2 changes: 1 addition & 1 deletion deploy/roles/application/templates/django/settings.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ DATABASES = {

# Optimizes read heavy PG workload, install only if PG
if '{{ settings_dbbackend }}' == 'postgresql_psycopg2':
DATABASES['default']['OPTIONS'] = {'autocommit': True}
DATABASES['default']['AUTOCOMMIT'] = True

# Internationalization
LANGUAGE_CODE = 'en-us'
Expand Down