Internationalization of your sign up, registration form or other data collection
Project description
Django Terran
This repository contains django-terran application.
What is Django Terran?
Django terran helps you with internationalization of your sign up, registration form or other data collection.
Bad/good news: all countries are different.
Everything you can possibly assume about addresses, phone numbers, bank requisites is probably wrong for some other country. For example:
- Address
- Fields of address are not fixed
- There are countries without administrative divisions like Gibraltar
- There are countries with two levels of administrative divisions like France or UK
- But second level of administrative division may be optional
- Order of fields in address is not fixed
- In Afghanistan post code goes before province
- In Albania county goes before post code
- Field names are not fixed
- Whatever is State is one country may be Province, Governorate or County in another.
- Post codes are called ZIP codes in US and Post indexes in Russia.
- Fields of address are not fixed
- Phone numbers
- A country may have more than one calling code. Kazakhstan has four: "71", "72", "75", "76", "77". Dominican repulic has three: "1809", "1829", "1849".
- Length of a phone number is not fixed. In Germany phone number may anything be between 6 and 12 digits.
- Organization Identifiers
- Some countries assign a unique identifier to all organizations, some do not. Format of that organization identifier is country specific.
- Person Identifiers
- Some countries assign a unique identifier to all citizens/residents, some do not. Format of that person identifier is country specific.
- Bank account numbers
- Some countries support IBAN, but IBAN format is country specific. Some countries do not support IBAN.
So, what do I get?
You get information about countries, administrative divisions, currencies, settlements (cities, towns, villages, hamlets). You'll need django-terran and fixtures (https://github.com/django-terran/django-terran-fixtures) because application is obviously data driven.
It may be a bit hard to comprehend, so you can play with an example application (browse to http://localhost:8080/signup/signup/); or just watch a video https://youtu.be/5uyuUl5GV6o
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_terran-0.0.1.tar.gz.
File metadata
- Download URL: django_terran-0.0.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98de072430fb730642ce3b8239c84e650ba16253205c9d77fcd194d36cd41dcd
|
|
| MD5 |
9a32d51379a15db51e527f501b2c3083
|
|
| BLAKE2b-256 |
732b4978adae2d0209998b17964a6e8f39a8c1b2e7649f1f5bd73267d21c0325
|
File details
Details for the file django_terran-0.0.1-py3-none-any.whl.
File metadata
- Download URL: django_terran-0.0.1-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b16627b37487a2ba6b95a2134ab780580b74800b34ad3e4537605b80bfb7f02
|
|
| MD5 |
4137910c7703903e12063e61c9bf3661
|
|
| BLAKE2b-256 |
56a4e2418c0c4327e4e3bc30230ed7ff09c47077f7b89275654be6692fb49173
|