Re: Automatic redirecting after login

2006-07-02 Thread Luigi Pantano
try this from django.http import HttpResponseRedirect ... ... def login(request): ''' some code to put here ''' return HttpResponseRedirect("index.htm") -- Luigi Pantano

web-server

2006-07-03 Thread Luigi Pantano
how to use django like web-sever on linux? i have tried: python manage.py runserver localhost:80 but give an error on the selected port. if run for example: python manage.py runserver myIP:8080 the django site is not visible to other machine in the lan/web, why? --~--~-~--~~-