Sunday, April 1, 2012

Re: How to model postal address in django ???

You can use django-countries for county names and codes -http://code.google.com/p/django-countries/ or https://bitbucket.org/smileychris/django-countries

There are probably more apps out there.

For geo-coding you can try http://geodjango.org/. It's awesome but it may be a bit hard to implement. If you find it a bit hard you can always use Google http://djangosnippets.org/snippets/2241/. Note that you only get 20000 free lat long lookups a day with google.

Cheers,

-m




On 31 March 2012 03:54, Ariel Isaac Romero Cartaya <isaacrc82@gmail.com> wrote:
Hi everybody, is there any model in Django to represent postal
address, I mean is there already models like Countries, provinces and
cities with theirs relations to make this, and how to model the others
attributes: streets, postal code, between streets and perhaps latitude
and longitude  to use google maps ????

How hope you can help me.
Any help would be appreciated.

Regards,
Ariel

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment