Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3.9 integration #176

Open
djruesch opened this issue May 6, 2022 · 2 comments
Open

Python3.9 integration #176

djruesch opened this issue May 6, 2022 · 2 comments

Comments

@djruesch
Copy link

djruesch commented May 6, 2022

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'

@furious-luke
Copy link
Owner

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.

@djruesch
Copy link
Author

djruesch commented May 7, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants