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.

Files for django-russian_fields, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size django-russian_fields-0.1.3.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page