From f8b74524f09e00d36c7b5295295e4eeb43d46179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 21 May 2012 18:26:49 +0200 Subject: Rename Spec to SpecItem and SpecList to SpecItem. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaƫl Barrois --- tests/django_test_app/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/django_test_app/models.py') diff --git a/tests/django_test_app/models.py b/tests/django_test_app/models.py index df654e2..8e1f2ce 100644 --- a/tests/django_test_app/models.py +++ b/tests/django_test_app/models.py @@ -7,13 +7,13 @@ from semantic_version import django_fields as semver_fields class VersionModel(models.Model): version = semver_fields.VersionField(verbose_name='my version') - spec = semver_fields.SpecField(verbose_name='my spec') - speclist = semver_fields.SpecListField(verbose_name='my spec list') + spec = semver_fields.SpecItemField(verbose_name='my spec') + speclist = semver_fields.SpecField(verbose_name='my spec list') class PartialVersionModel(models.Model): partial = semver_fields.VersionField(partial=True, verbose_name='partial version') optional = semver_fields.VersionField(verbose_name='optional version', blank=True, null=True) - optional_spec = semver_fields.SpecField(verbose_name='optional spec', blank=True, null=True) - optional_speclist = semver_fields.SpecListField(verbose_name='optional spec list', + optional_spec = semver_fields.SpecItemField(verbose_name='optional spec', blank=True, null=True) + optional_speclist = semver_fields.SpecField(verbose_name='optional spec list', blank=True, null=True) -- cgit v1.2.1