Serializer for Postgis Array field in Django

2017-02-11 Thread Stefan Milutinovic
Hi, I have a class BPS: class BPS(models.Model): """ This is representation of UK BPS applications. """ ... questions = ArrayField(models.IntegerField()) This field questions is ArrayField od integers. And I also have Serializer for BPS. When I want to create BPS objec

Re: How install Django in PyCharm Community edition?

2017-02-10 Thread Stefan Milutinovic
You can't install django in PyCharm. You must set proper Python interpreter into PyCharm Settings. File>Settings>Project:name_of_your_project>Project Interpreter There you must setup proper Python interpreter. The best option is that you create Virtual Environment for each project. This is guide