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.3.tar.gz
(44.4 kB
view hashes)
Close
Hashes for django-handy-models-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 012c1316b084b9e2384de09e75b19fd29691c450ab0936cff264a88bba572ba5 |
|
MD5 | 3715913dd630bc07dcf0670992cd98bf |
|
BLAKE2b-256 | 0da63dbe5d7daf3d604f29b30fec578ca72b151c494922b8fe2a87bf04640059 |