Skip to main content
# django-jumin => django-korean-fields 로 진화중
Django용 주민등록번호 필드 & 위젯

#### 기능
- 주민번호 유효성 검사
- 날자 유효성 검사(윤년 검사 포함)
- 붙여 넣기 적당히 잘되게
- 앞뒤 주민번호 이동
- 앞자리 다쓰고 나서 고칠 때 짜증나게 자꾸 뒷자리로 날라가지 않음
- 그 외 앵간한거 그냥 다 됨

#### Demo
![Demo](./demo/demo_small.gif)

#### Example

example 폴더 참조

## 의존성
- Twitter bootstrap 3
- jQuery
- Django (2.0+만 테스트)
- django-bootstrap-form 사용하면 좋음(안해도되고...)

## 사용법
INSTALL_APPS에 'jumin'추가

``` python
INSTALLED_APPS = [
'jumin',

...
'my_app',
...

'django.contrib.admin
```

## model에서 사용 시
```python
from django.db import models
from jumin.fields import JuminField

class YourEverythingModel(models.Model):

name = models.CharField(u'실명', max_length=20)

jumin = JuminField(u'내 주민번호')
mom_jumin = JuminField(u'엄마 주민번호')
dad_jumin = JuminField(u'아빠 주민번호')
uncle_jumin = JuminField(u'삼촌 주민번호')

your_secret = models.TextField(u'비밀정보')
...
```

## form에서 사용 시
```python
class TestForm(forms.Form):
jumin = JuminFormField()
another = CharField(label='test', max_length=10, required=False)
```

Metadata

Release files for django-korean-fields 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-korean-fields 0.2.0
File Size Uploaded Provenance Actions
django-korean-fields-0.2.0.tar.gz 9.6 kB Without provenance Details for django-korean-fields-0.2.0.tar.gz

Release files / django-korean-fields-0.2.0.tar.gz

Download URL django-korean-fields-0.2.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7b0a1bf02c0bb0eba025047c9bf04337679222773c17a314b2cc506904a02561
BLAKE2b-256 checksum
How to use checksums
3f6b60708bdb02f678e635e65e703c0e1accb56c26547749e901a7f3cb1677b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for django-korean-fields 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page