diff options
| author | Markus Törnqvist | 2013-05-18 17:42:54 +0300 |
|---|---|---|
| committer | Markus Törnqvist | 2013-05-18 17:42:56 +0300 |
| commit | e2a5ec035070755b4dc87dce65b46fa987138c31 (patch) | |
| tree | 2a175f69631345481d8649cf9e20925785e77559 /rest_framework/tests/models.py | |
| parent | e2d3aa65d78511b526ecac24bf4198dfa4f27c16 (diff) | |
| download | django-rest-framework-e2a5ec035070755b4dc87dce65b46fa987138c31.tar.bz2 | |
Change BasicModel.verbose_name
Isn't it nicer to test for a text which is different from
what the previous broken behavior was? Now we can really
tell it works!
Diffstat (limited to 'rest_framework/tests/models.py')
| -rw-r--r-- | rest_framework/tests/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/models.py b/rest_framework/tests/models.py index 486ec761..abf50a2d 100644 --- a/rest_framework/tests/models.py +++ b/rest_framework/tests/models.py @@ -34,7 +34,7 @@ class Anchor(RESTFrameworkModel): class BasicModel(RESTFrameworkModel): - text = models.CharField(max_length=100, verbose_name=_("Text"), help_text=_("Text description.")) + text = models.CharField(max_length=100, verbose_name=_("Text comes here"), help_text=_("Text description.")) class SlugBasedModel(RESTFrameworkModel): |
