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.

Source Distribution

django-icelandic-addresses-0.1.4.tar.gz (3.8 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page