Skip to main content

Django app containing a list of Icelandic addresses

Project description

https://badge.fury.io/py/django-icelandic-addresses.png https://travis-ci.org/StefanKjartansson/django-icelandic-addresses.png?branch=master https://pypip.in/d/django-icelandic-addresses/badge.png

Django app containing a list of Icelandic addresses

Getting It

You can get django-icelandic-addresses by using pip or easy_install:

$ pip install django-icelandic-addresses
or
$ easy_install django-icelandic-addresses

Installing It

To enable ice_addresses in your project you need to add it to INSTALLED_APPS in your projects settings.py file:

INSTALLED_APPS = (
    ...
    'ice_addresses',
    ...
)

Using It

Import data from staðfangaskrá:

$ python manage.py import_ice_addresses

And in code:

from ice_addresses.models import Address, Street

laugavegur_1 = Address.objects.filter(
    street=Street.objects \
        .filter(name_nominative='Laugavegur') \
        .filter(postcode__id=101),
    house_number=1)

TODO

  • Address form

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-icelandic-addresses, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size django-icelandic-addresses-0.1.5.tar.gz (3.8 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page