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 hashes)

Uploaded Source

Supported by

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