Handy models for Django
Project description
django-handy-models
A Django App that adds pre-populated models for common use cases. Includes models for Continents, Countries, Language, Currencies, Timezones.
Example data
{ "name_exonym": "Sweden", "name_endonym": "Sverige", "iso_3166_1_alpha_2": "SE", "capital_exonym": "Stockholm", "capital_endonym": "Stockholm", "calling_code": "46", "continent": { "name": "Europe", "abbreviation": "EU" }, "languages":[ { "name_exonym": "Swedish", "name_endonym": "Svenska", "iso_639_1": "sv" } ], "currencies":[ { "name": "Swedish Krona", "name_plural": "Swedish kronor", "symbol_exonym": "Skr", "symbol_endonym": "kr", "iso_4217": "SEK" } ] }
Setup
Install from pip
pip install django-handy-models
add to INSTALLED_APPS in Django project’s settings.py
INSTALLED_APPS = [ ... 'django_handy_models', ]
Load data from fixtures
python manage.py loaddata django_handy_models
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-handy-models-0.0.2.tar.gz
(44.4 kB
view hashes)
Close
Hashes for django-handy-models-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d51ad46ac80f82f1079e22881b6de474be25b5e072da6d0005f20aad2e1cc7ac |
|
MD5 | 6a02f48bac7510044a82150ee0c6100e |
|
BLAKE2b-256 | 6229272be796bf00261791d1de506e5d5e1a8faf2f082a5e35e0a7c1e701d949 |