diff options
| author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2013-06-14 15:02:30 +0100 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2013-06-14 15:37:39 +0100 |
| commit | 46789e76c68b5713795fbf71ce5fdccb727074fa (patch) | |
| tree | e5ebddf35699361a0324151e3b7134563a859bab /tests/model_forms | |
| parent | 5459795ef224c5c81461c06a95d38390ee91f014 (diff) | |
Fixed #20548 -- Removed all PendingDeprecationWarnings from django test suite
Diffstat (limited to 'tests/model_forms')
| -rw-r--r-- | tests/model_forms/tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py index aadc7a618e..eea1ef9b68 100644 --- a/tests/model_forms/tests.py +++ b/tests/model_forms/tests.py @@ -52,12 +52,15 @@ class PriceForm(forms.ModelForm): class BookForm(forms.ModelForm): class Meta: - model = Book + model = Book + fields = '__all__' class DerivedBookForm(forms.ModelForm): class Meta: model = DerivedBook + fields = '__all__' + class ExplicitPKForm(forms.ModelForm): |
