There are still things that can be improved or changed! Ideas and suggestions are welcome.
Right now, for every job post, we ask to add the job address. However it could be done as well when the employer signup and save it as default address. This would allows us to "suggest" an address when a employer add new job by automatically populate the address fields.
Also, maybe some things can be better named. For instance, the Address models fields name are named in the same way as are on OSM Nominatim, but can be change.
What information should we include about the job on the map? Currently shows the "company name" and the "total of opening positions".
Currently there is not support to edit address on the edit job offer.
Doubts:
Is the current way of deal with nested models okay? Any other recommendation? I couldn't find one from django documentation.
Things that are still missing:
A helper function to automatically generate an address entry to the current jobs in our database.
A test fixture to show data on map.
Run makemessages.
Add Address model to admin panel.
[1] Currently named as “address”, which could be replaced later by location.
The location field is still present on the Job model but should be deleted once we add the address information to the current offers that exist in our database.
[2] There is a temporary hyperlink to the map page on the nav bar. Ideas about how and where display the map url and style it are needed.
Related with: #196
Make possible generate coordinates from job offer address and display it on map.
To accomplish this functionality the following changes were made/introduced:
geolocation
, for all related geographic data.Address
model is introduced to deal with job address information.location
field fromJob
model is replaced by a new one, which makes a relation to the Address model. [1]Update POSTapi/jobs
to be able to send the new address information.There are still things that can be improved or changed! Ideas and suggestions are welcome. Right now, for every job post, we ask to add the job address. However it could be done as well when the employer signup and save it as default address. This would allows us to "suggest" an address when a employer add new job by automatically populate the address fields.
Also, maybe some things can be better named. For instance, the Address models fields name are named in the same way as are on OSM Nominatim, but can be change.
What information should we include about the job on the map? Currently shows the "company name" and the "total of opening positions".
Currently there is not support to edit address on the edit job offer.Doubts:
Things that are still missing:
makemessages
.Address
model to admin panel.[1] Currently named as “address”, which could be replaced later by location. The location field is still present on the Job model but should be deleted once we add the address information to the current offers that exist in our database. [2] There is a temporary hyperlink to the map page on the nav bar. Ideas about how and where display the map url and style it are needed.