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

AddressField on admin site #192

Open
dave-richards opened this issue Jul 12, 2023 · 0 comments
Open

AddressField on admin site #192

dave-richards opened this issue Jul 12, 2023 · 0 comments

Comments

@dave-richards
Copy link

I have a contact model in my django project. I need to store the postal address. I would also like to store the geolocation. When I bring up the admin site, the address field acts odd. The field has both black and null = True. When I navigate to the field I click 'add' then enter the raw address into the field. When I save the model it is unclear whether the address was saved. When I examine the model in the admin site, nothing appears in the displayed field. I know the admin site is intended for low-level interactions with the db, but I can't seem to understand the rules. Is this documented somewhere?

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

1 participant