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. Радуйтесь!
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
Close
Hashes for django-russian_fields-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3044f7cb4f190ee1b900ccfb66e05fc662af751da95e7cdf3da1ed09ee0aa0e1 |
|
MD5 | 138f5fc3ae58a095ba88d77d7016d6bc |
|
BLAKE2b-256 | 845a507ccf6bf693c086733abeb592c3251a4f526f9b04eea002923f808a0fa1 |