Giter Club home page Giter Club logo

django_comuni_italiani's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django_comuni_italiani's Issues

Perchè non trovo il CAP?

Buongiorno,

mi domandavo come mai avete scelto di non inserire il CAP sulla tabella dei comuni.
Grazie.

Issue with birthdate and municipality date_created check

Ciao,
apprezzo moltissimo questo modulo che mi ha aiutato moltissimo in un mio progetto personale.

Utilizzo la funzione encode() per generare un CF da confrontare con un altro CF dato in input.
Ho un problema: la data di nascita (antecedente) non va d'accordo con la data di creazione di un comune.

Allego uno screenshot con tutti i dati del caso:
Issue on birthplace date_created

Errore in manage.py import_comuni

Ciao kbytesys,

Mi viene restituito il seguente errore quando lancio il comando import_comuni:

  File "[...]/lib/python3.6/site-packages/comuni_italiani/management/commands/import_comuni.py", line 73, in handle
    popolazione = locale.atoi(row['Popolazione legale 2011 (09/10/2011)'])
  File "[...]/lib/python3.6/locale.py", line 325, in atoi
    return int(delocalize(string))
ValueError: invalid literal for int() with base 10: '2.644'

Il separatore delle migliaia per il locale it_IT risulta essere '. ' (ovvero un punto seguito da uno spazio), mentre il dato contenuto in row['Popolazione legale 2011 (09/10/2011)'], è '2.644' senza spazio dopo il punto.
Al momento ho fixato ignorantemente con un semplice replace('.', '') e sembra funzionare tutto bene.

Grazie in anticipo,
Simone.

EDIT: mi sono dimenticato di specificare che il separatore con lo spazio sembra dovuto al fatto che utilizzo iMac.

Errore README?

Buongiorno, nel readme c'è scritto questo import
from dal import autocomplete

Ma cosa sarebbe dal?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.