Skip to main content

License GitHub release Ask DeepWiki Build status GitHub issues CodeQL

Django ISTAT API italian places

Django ISTAT is a Django app to localize the ISTAT API. The result is a Django app that you can plug into your existing Django project to localize the ISTAT API.

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “comuni_italiani” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        "comuni_italiani",
    ]
  2. Include the polls URLconf in your project urls.py like this:

    path("comuni_italiani/", include("comuni_italiani.urls")),
  3. Run python manage.py migrate to create the comuni_italiani models.

  4. Start the development server

  5. Run the management command to populate the database with the ISTAT API data:

    ``python manage.py import_istat_data``
    
    (If use the --force option, the command start without asking for confirmation)
  6. Visit http://127.0.0.1:8000/comuni-italiani/ to view the API index.

  7. Visit http://127.0.0.1:8000/comuni-italiani/regioni/ to view the API regioni.

  8. Visit http://127.0.0.1:8000/comuni-italiani/province/ to view the API province.

  9. Visit http://127.0.0.1:8000/comuni-italiani/comuni/ to view the API cities.

Metadata

Release files for django-istat-italian-places 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-istat-italian-places 0.3.5
File Size Uploaded
django_istat_italian_places-0.3.5.tar.gz 16.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-istat-italian-places 0.3.5
File Interpreter ABI Platform
django_istat_italian_places-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 43.1 kB

Release files / django_istat_italian_places-0.3.5.tar.gz

Download URL django_istat_italian_places-0.3.5.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2c7699bfb2e9534812c57253a8ed0216dd92f543c3b65af422b81c6f31e0101a
BLAKE2b-256 checksum
How to use checksums
caf53250c71e4cef0b39d0bf4c22d33b176f0a20bd9e3b08ce908ba737da84bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / django_istat_italian_places-0.3.5-py3-none-any.whl

Download URL django_istat_italian_places-0.3.5-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6573084c3fbadd664aa4bfaa74fc075ddeb225ac002fa5df5a6c58f8bd930ec8
BLAKE2b-256 checksum
How to use checksums
25c4a7556d7006dce79c63ec3e04fb992f62d7ebf2fc5099ff2934eb47b26bd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.5 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7.8

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page