Skip to content

Commit

Permalink
remove possible duplicate tables
Browse files Browse the repository at this point in the history
  • Loading branch information
priestc committed Apr 13, 2012
1 parent cb4fe56 commit 9e350b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ In your settings, add three settings: `AWS_SECRET_KEY`, `AWS_ACCESS_KEY`, and `E
}

* `database` must match one in your `DATABASES` setting (old `DATABASE_` settings are not recognized)
* `include-models` is a list of models that you want included in the dump
* `exclude-models` are models you want to not have included in dumps
* `include-models` is a list of models that you want included in the dump (leave blank to include **all** models)
* `exclude-models` are models you want to not have included in dumps. This setting is ignored if `include-models` is defined.
* `extra-table` is a list of table names that do not correlate to a django model which you want included in the dump.
* `s3-bucket` is the name of the bucket you want dumps to be saved to.
* `reduced-redundancy` - When uploading dumps, if this value is `True`, it will save the file to S3 using the
Expand Down
2 changes: 1 addition & 1 deletion easydump/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _get_tables(self):
if add_to_dump:
dump_tables.append(table_name)

return dump_tables + self.extra_tables
return set(dump_tables + self.extra_tables)

class EasyDumpCommand(NoArgsCommand):
"""
Expand Down

0 comments on commit 9e350b2

Please sign in to comment.