Re: redirect with apache getting 2 slashes
i will try that,but how that should matter? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: redirect with apache getting 2 slashes
i did a redirect with a django view but i don`t want this On Jun 4, 9:17 pm, urielka <[EMAIL PROTECTED]> wrote: > i got my blog inwww.urielkatz.comand i got some of my pages index in > google and now i changed the blog to use slugs instead of post id for > post url. > so this:http://www.urielkatz.com/archive/detail/3/ > become to this:http://www.urielkatz.com/archive/detail/google-gears-orm/ > > but that doesn`t work,this works:http://www.urielkatz.com/archive/detail/3 > but this with slash get me to > this:http://www.urielkatz.com/archive/detail/google-gears-orm// > > which get me a 404. > my Apache Redirect are: > > Redirect 301 > /archive/detail/3http://www.urielkatz.com/archive/detail/google-gears-orm/ > Redirect 301 > /archive/detail/3/http://www.urielkatz.com/archive/detail/google-gears-orm/ > > and APPEND_SLASH is set to False,but this still doesn`t work. > > please help,rescue :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
redirect with apache getting 2 slashes
i got my blog in www.urielkatz.com and i got some of my pages index in google and now i changed the blog to use slugs instead of post id for post url. so this: http://www.urielkatz.com/archive/detail/3/ become to this: http://www.urielkatz.com/archive/detail/google-gears-orm/ but that doesn`t work,this works: http://www.urielkatz.com/archive/detail/3 but this with slash get me to this: http://www.urielkatz.com/archive/detail/google-gears-orm// which get me a 404. my Apache Redirect are: Redirect 301 /archive/detail/3 http://www.urielkatz.com/archive/detail/google-gears-orm/ Redirect 301 /archive/detail/3/ http://www.urielkatz.com/archive/detail/google-gears-orm/ and APPEND_SLASH is set to False,but this still doesn`t work. please help,rescue :) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: How to delete a session
just do this: from django.contrib.sessions.models import Session Session.objects.filter(session_key=request.session.session_key).delete() On May 23, 3:26 pm, Ramashish Baranwal <[EMAIL PROTECTED]> wrote: > Hi, > > How can I delete the session of a request? The docs speak about using > session as a dict and setting and removing specific keys on that, but > I want to remove the session itself, something like del request.session > > Any ideas? > > Thanks in advance, > Ram --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: django vps hosting
yeha i really liked SliceHost they have the best prices but the waiting list is more than ridiculous,if they have such a big waiting list i would expect from them to make their data center bigger. i am staying right now with vpsland,they are really great and the ssh turn out to be a problem with my isp,which still isn`t fixed but using other connection i get really fast access. i can recommend vpsland to anybody,even that the problem was mine they tried everything to fix it,even changed my server to other network and answer in a matter of minutes. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
django vps hosting
I am running two django sites with vpsland(good support) for the last 7 days, but since i having problems with their ssh(running really slow) i thinking about switching to other host. Is there any good vps hosting? it probably be better if it is in Europe for lower latency. thx, Uriel --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---