Giter Site home page Giter Site logo

Comments (7)

benkonrath avatar benkonrath commented on June 12, 2024

I suspect this is an oversight. I vaguely recall noticing this in the past but assumed that these fields were intentionally setup to inherit directly from Field. Since there's a specific issue with this setup, I think we should change all text based fields to inherit from CharField.

I think it's worthwhile to make a 3.1.1 release to address this. Do you see any compatibility issues with this change?

from django-localflavor.

benkonrath avatar benkonrath commented on June 12, 2024

I can make a PR later this afternoon if you haven't already beat me to it.

from django-localflavor.

claudep avatar claudep commented on June 12, 2024

Such changes could always give backwards incompatibilities, however, I think it's the right thing to do, and we can document the affected fields in the ChangeLog. I'll be pleased to review your patch :-)

from django-localflavor.

benkonrath avatar benkonrath commented on June 12, 2024

There were more than I thought there would be and I have to do other stuff now. I'll finish the PR in the next couple of days and let you know when it's ready for review.

from django-localflavor.

claudep avatar claudep commented on June 12, 2024

Sure, no rush! Just tell me if you'd like some help to cook the patches.

from django-localflavor.

benkonrath avatar benkonrath commented on June 12, 2024

I can do it - it's giving me more motivation to finish my work on a Django wrapper to python-stdnum and possibly/eventually deprecate most of this stuff. :-)

from django-localflavor.

claudep avatar claudep commented on June 12, 2024

Fixed by d7ba69b

from django-localflavor.

Related Issues (20)

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.