Skip to content

Commit

Permalink
Add Unique validator
Browse files Browse the repository at this point in the history
  • Loading branch information
kvesteri committed Jan 27, 2016
1 parent 42d4a37 commit d8b10ad
Show file tree
Hide file tree
Showing 6 changed files with 476 additions and 8 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ Changelog
Here you can see the full list of changes between each WTForms-Alchemy release.


0.15.0 (2016-01-xx)
0.15.0 (2016-01-27)
^^^^^^^^^^^^^^^^^^^

- Moved GroupedQuerySelectField from WTForms-Components package to WTForms-Alchemy
- Moved WeekdaysField from WTForms-Components package to WTForms-Alchemy
- Moved PhoneNumberField from WTForms-Components package to WTForms-Alchemy
- Moved Unique validator from WTForms-Components package to WTForms-Alchemy


0.14.0 (2016-01-23)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_phone_number_field.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from wtforms import Form

from tests import MultiDict
from wtforms_components import PhoneNumberField
from wtforms_alchemy import PhoneNumberField


class TestPhoneNumberField(object):
Expand Down
6 changes: 3 additions & 3 deletions tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@
EmailField,
IntegerField,
IntIntervalField,
PhoneNumberField,
StringField,
TimeField
)
from wtforms_components.fields.weekdays import WeekDaysField

from tests import ModelFormTestCase
from wtforms_alchemy import (
CountryField,
ModelForm,
null_or_unicode,
PhoneNumberField,
SelectField,
UnknownTypeException
UnknownTypeException,
WeekDaysField
)
from wtforms_alchemy.utils import ClassMap

Expand Down
Loading

0 comments on commit d8b10ad

Please sign in to comment.