django-address icon indicating copy to clipboard operation
django-address copied to clipboard

Python3.9 integration

Open djruesch opened this issue 2 years ago • 2 comments

File "../.venv/lib/python3.9/site-packages/address/models.py", line 314, in init super(AddressField, self).init(*args, **kwargs) TypeError: init() got multiple values for argument 'to'

djruesch avatar May 06 '22 22:05 djruesch

Hi @djruesch! Thanks for the issue report. I think we're going to need some more information, however. The included Docker setup already runs on Python 3.9, so I'm confident that Django Address supports Python 3.9.

Just as a guess, the error you've reported looks a lot like you've attempted to initialise the AddressField field and supplied your own value for to, most likely as a positional argument. Please remove that argument and see if that fixes your issue.

furious-luke avatar May 06 '22 23:05 furious-luke

Sounds good. I will give it a try. Thanks.

On Fri, May 6, 2022, 19:55 Luke Hodkinson @.***> wrote:

Hi @djruesch https://github.com/djruesch! Thanks for the issue report. I think we're going to need some more information, however. The included Docker setup already runs on Python 3.9, so I'm confident that Django Address supports Python 3.9.

Just as a guess, the error you've reported looks a lot like you've attempted to initialise the AddressField field and supplied your own value for to, most likely as a positional argument. Please remove that argument and see if that fixes your issue.

— Reply to this email directly, view it on GitHub https://github.com/furious-luke/django-address/issues/176#issuecomment-1120081573, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSGTFCJFUKTSISAOLZNT2LVIWWPRANCNFSM5VJLKH3A . You are receiving this because you were mentioned.Message ID: @.***>

djruesch avatar May 07 '22 00:05 djruesch