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

Appropriate model field for location and json #3

Open
hadooboo opened this issue Oct 26, 2019 · 5 comments
Open

Appropriate model field for location and json #3

hadooboo opened this issue Oct 26, 2019 · 5 comments
Labels
question Further information is requested

Comments

@hadooboo
Copy link
Contributor

https://docs.djangoproject.com/en/2.2/ref/contrib/postgres/fields/#querying-jsonfield
https://docs.djangoproject.com/en/2.2/ref/contrib/gis/model-api/#pointfield

I think those fields are more appropriate because they're built-in field in django.contrib. How about using them???

@ByungHeeCha
Copy link
Contributor

ByungHeeCha commented Oct 26, 2019 via email

@hadooboo
Copy link
Contributor Author

hadooboo commented Oct 26, 2019

https://docs.djangoproject.com/en/2.2/topics/db/multi-db/#manually-selecting-a-database

please refer to this! I think we can use multi-db but we should decide to use this system..

@ByungHeeCha
Copy link
Contributor

I read it. Well then, I think can use it! But I previously had a problem with gis model api and PointField, so please note that.


쓸수 있을것 같아요. 근데 제가 PointField넣었을때 makemigrations 과정에서 문제를 겪고 해결하지 못하고 필드를 바꾼 경험이 있어서 그 점 유의해주시고 코딩 하셔야 할것 같아요!

@ByungHeeCha ByungHeeCha added the question Further information is requested label Oct 26, 2019
@hadooboo
Copy link
Contributor Author

OK! I will test in my branch and tell you the progress. Thanks!

@ByungHeeCha
Copy link
Contributor

If you're planning to work on backend, I think you can use my branch...

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

No branches or pull requests

2 participants