Skip to content

Commit

Permalink
Preparing for postgresql starting
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Álvarez committed Feb 17, 2014
1 parent b9a71a2 commit be885bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
10 changes: 1 addition & 9 deletions example_data.yaml
Expand Up @@ -22,9 +22,6 @@
- fields: {name: instance 2, slug: instance2, owner: 1}
model: nuntium.writeitinstance
pk: 2
- fields: {content_type: 13, datetime: 2013-04-26, object_id: 1, status: new}
model: nuntium.messagerecord
pk: 1
- fields: {content: Content 1, subject: Subject 1, confirmated: False, writeitinstance: 1, slug: subject-1, author_name: Fiera, author_email: fiera@ciudadanointeligente.org }
model: nuntium.message
pk: 1
Expand Down Expand Up @@ -87,9 +84,4 @@
pk: 3
- fields: {contact_type: 1, person: 3, value: falvarez@ciudadanointeligente.cl, owner: 1}
model: contactos.contact
pk: 4
- fields: {content_template: "Hello {{person}}:\r\nYou have a new message:\r\nsubject:\
\ {{subject}} \r\ncontent: {{content}}\r\n\r\nSeeya\r\n--\r\nYou writeIt and\
\ we deliverit.", subject_template: 'WriteIT Message: %(subject)s', writeitinstance: 1}
model: mailit.mailittemplate
pk: 1
pk: 4
4 changes: 4 additions & 0 deletions mailit/migrations/0001_initial.py
Expand Up @@ -7,6 +7,10 @@

class Migration(SchemaMigration):

depends_on = (
("nuntium", "0004_auto__del_instance__add_writeitinstance"),
)

def forwards(self, orm):
# Adding model 'MailItTemplate'
db.create_table(u'mailit_mailittemplate', (
Expand Down
1 change: 1 addition & 0 deletions requirements-production.txt
@@ -1,4 +1,5 @@
MySQL-python
#psycopg2
gunicorn
django-ses
boto
Expand Down

0 comments on commit be885bc

Please sign in to comment.