implementing next and previous of the object

2010-07-27 Thread haibin
Hi all,

Need help, advice on how the have a next and previous link on a object
detail page. For example fomr a object list page a user chose an
object, and in the object page instead of going back to the list to
view other object the user just click either next or previous.

Any idea how to implement it?

Thanks,
James

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



Re: Django GeoIP

2010-07-17 Thread haibin
Thanks All,

Its now clear to me. For sharing purpose, maybe I'll go for pygeoip?
Since I really only need the GeoIP only. Much simpler, though could be
much slower?



On Jul 18, 12:20 am, Justin Myers <masterb...@gmail.com> wrote:
> Yes, there are dependencies for GeoIP. They're listed in the docs for
> GeoIP (http://docs.djangoproject.com/en/1.2/ref/contrib/gis/geoip/),
> and the docs' list of GeoDjango's requirements in general (http://
> docs.djangoproject.com/en/1.2/ref/contrib/gis/install/#requirements)
> is also useful.
>
> HTH,
> Justin
>
> On Jul 17, 12:58 am, haibin <cai.hai...@gmail.com> wrote:
>
>
>
> > hi,
>
> > I am trying to use GeoIP part of GeoDjango. I importing it by from
> > django.contrib.gis.utils import GeoIP but getting import error. Do I
> > have to install someting or do the whole installation process for
> > GeoDjango? Or what is the minimum requirements just for GeoIP
>
> > Thanks,
> > James

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



Django GeoIP

2010-07-16 Thread haibin
hi,

I am trying to use GeoIP part of GeoDjango. I importing it by from
django.contrib.gis.utils import GeoIP but getting import error. Do I
have to install someting or do the whole installation process for
GeoDjango? Or what is the minimum requirements just for GeoIP

Thanks,
James

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



way to detecting visitiors zip code

2010-07-12 Thread haibin
hi all,

Is there a way to get the visitor's location represented as zip code
(not only in US)? I have no idea how to do this, please help.

Thanks,
James

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