Skip to content

Commit

Permalink
Fixed a failure against Django < 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
charettes committed Jan 31, 2014
1 parent 97cce37 commit 448b860
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tenancy/views.py
Expand Up @@ -85,6 +85,8 @@ def get_context_object_name(self, obj):


class TenantModelFormMixin(TenantObjectMixin, ModelFormMixin):
fields = None # Required on Django < 1.6

def get_form_class(self):
"""
Provide a model form class based on tenant specific model.
Expand Down

0 comments on commit 448b860

Please sign in to comment.