Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Commit

Permalink
Take m2m through table tablespace from defining models Meta definition
Browse files Browse the repository at this point in the history
  • Loading branch information
brki committed Dec 13, 2014
1 parent 591e751 commit fb333aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions versions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ def create_versioned_many_to_many_intermediary_model(field, cls, field_name):
meta = type('Meta', (object,), {
# 'unique_together': (from_, to),
'auto_created': cls,
'db_tablespace': cls._meta.db_tablespace,
'app_label': cls._meta.app_label,
})
return type(str(name), (Versionable,), {
Expand Down

0 comments on commit fb333aa

Please sign in to comment.