On Mon, May 9, 2011 at 6:19 PM, Boštjan Mejak <[email protected]> wrote:
> <form method="get" action=".">
> What if you add the dot to action, like above? What does that mean? And note
> that my form method is get. Anyone knows about what the dot does?
>

The action parameter takes a URL location. This can be absolute or
relative, using '.' is simply a relative URL to the current location,
ie, the current location.

I believe most browser will include GET arguments in the current
location, but I'm not certain. I always specify an absolute URL, as
explicit is better than implicit.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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.

Reply via email to