Bulgaria (bg)¶
Validators¶
-
class
localflavor.bg.validators.EGNValidator[source]¶ Check Bulgarian unique citizenship number (EGN) for validity.
More details https://en.wikipedia.org/wiki/Unique_citizenship_number Full information in Bulgarian about algorithm is available here http://www.grao.bg/esgraon.html#section2
-
deconstruct()¶ Return a 3-tuple of class import path, positional arguments, and keyword arguments.
-
-
class
localflavor.bg.validators.EIKValidator[source]¶ Check Bulgarian EIK/BULSTAT codes for validity.
Full information in Bulgarian about algorithm is available here http://bulstat.registryagency.bg/About.html
-
deconstruct()¶ Return a 3-tuple of class import path, positional arguments, and keyword arguments.
-
Model Fields¶
Utils¶
-
localflavor.bg.utils.get_egn_birth_date(egn)[source]¶ Extract birth date from Bulgarian unique citizenship number (EGN).
More details https://en.wikipedia.org/wiki/Unique_citizenship_number Information in Bulgarian for this can be found here http://www.grao.bg/esgraon.html#section2