This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
############################################################### | |
# | |
# Paste this into a TextMate document, | |
# press ⇧^⌥R and choose 'Ruby' from the menu that appears, | |
# and then press ⌘R to run this in the context of TextMate | |
# to see all TextMate environment variables and their values | |
# | |
############################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
############################################################### | |
# | |
# Paste this into a TextMate document, | |
# press ⇧^⌥R and choose 'Ruby' from the menu that appears, | |
# and then press ⌘R to run this in the context of TextMate | |
# to see all TextMate environment variables and their values | |
# | |
############################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# remove existing 9.3 installation | |
sudo /etc/init.d/postgresql stop | |
sudo apt-get --force-yes -fuy remove --purge postgresql postgresql-9.1 postgresql-client | |
# install 9.4 | |
sudo apt-get install python-software-properties | |
sudo add-apt-repository 'deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main 9.4' | |
sudo apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(github_projects_2)felipe@felipe-G51JX:~/projects/github_projects_2/clones/django-object-config/sample_project$ m test object_config --failfast --noinput | |
Creating test database for alias 'default'... | |
E | |
====================================================================== | |
ERROR: test_option_create_many (object_config.tests.OptionsTest) | |
Test many items creation | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/felipe/projects/github_projects_2/clones/django-object-config/sample_project/object_config/tests.py", line 27, in setUp | |
self.model = MyModel.objects.create(name='test 1') |