Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphje committed Feb 9, 2015
1 parent 3ba39ac commit 6ed8bf4
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions internationalflavor/vat_number/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ class VATNumberValidator(object):
:param bool eu_only: By default, all countries are allowed. However, if you are an EU company, you are likely to
only want to accept EU VAT numbers.
.. warning::
The validation of non-EU VAT numbers may be incomplete or wrong in some cases. Please issue a pull request if you
feel there's an error.
:param bool vies_check: By default, this validator will only validate the syntax of the VAT number. If you need to
validate using the EU VAT Information Exchange System (VIES) checker (see
http://ec.europa.eu/taxation_customs/vies/), you can set this boolean. Any VAT number in the EU VAT Area will
Expand All @@ -48,9 +43,10 @@ class VATNumberValidator(object):
If regulations require you to validate against the VIES service, you probably also want to set ``eu_only``. You
probably can't accept any other VAT number in that case.
If you enable VIES
.. warning::
The need for :mod:`suds` could (should) be removed in a future version of this package.
The validation of non-EU VAT numbers may be incomplete or wrong in some cases. Please issue a pull request if you
feel there's an error.
"""

country_failure = _('This VAT number does not match the requirements for %(country)s.')
Expand Down

0 comments on commit 6ed8bf4

Please sign in to comment.