C
Project description
django-country-regions
A simple app providing two models app providing countries and regions extracted from django-cities-light
Requirements:
- Python >= 3.6
- Django >= 1.11
- MySQL or PostgreSQL or SQLite.
Installation and configuration
Install django-country-regions:
pip install django-country-regions
Add django-country-regions to your project's settings.INSTALLED_APPS
#settings.py
INSTALLED_APPS = [
#...some packages
'country_regions',
#...some packages
]
Then run the full import
This command will create the corresponding tables and load the data into the database
example/manage.py migrate
Author(s)
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
django-country-regions-0.0.1.tar.gz
(145.5 kB
view hashes)
Close
Hashes for django-country-regions-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0734f449986c6d20f623c404c119717bfcd74c12ea4663003e9225f46a54fb98 |
|
MD5 | b7e54819a068b3bce78bebb633057541 |
|
BLAKE2b-256 | e7d90693a4b9da119c9a489e15ef539004e0d15e24ce63981ee104e9aa6b8335 |