Skip to main content

A simple Django app that provides fields like INNField, OGRNField etc.

Project description

=====
Django Russian Fields
=====

Приложение содержит поля, специфичные для разработки в российских условиях.

Список полей::

* INNField
* KPPField
* OGRNField
* PhoneNumberField

Инструкция
-----------

1. Установите пакет с помощью pip::

pip install django-russian_fields

2. Добавьте "russian_fields" в INSTALLED_APPS::

INSTALLED_APPS = (
...
'russian_fields',
)

3. Импортируйте нужное поле в ваш models.py::

from russian_fields.models.fields import INNField

4. Используйте импортированное поле в вашей модели::

class MyModel(models.Model):
...
inn = INNField(verbose_name=u"ИНН")

5. Радуйтесь!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-russian_fields-0.1.3.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file django-russian_fields-0.1.3.tar.gz.

File metadata

File hashes

Hashes for django-russian_fields-0.1.3.tar.gz
Algorithm Hash digest
SHA256 10eb835d6c8af1fd13033c6476a3125d1ae3fa2baf21c704ba7004b1ca11e30c
MD5 ee30d6fa340e521d4f52e8590fee064b
BLAKE2b-256 60ab71ddbaa19edc3e98dc1d4dcb6933d37e2bc39c1e60c77c83965f76d9db43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page