On Wed, Mar 9, 2011 at 6:35 PM, maciekjbl wrote:
> On 9 Mar, 17:41, bruno desthuilliers
> wrote:
>> (and is misspelled FWIW).
> What do you mean is misspelled ?
Compare/contrast.
Cheers
Tom
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
On 9 Mar, 17:41, bruno desthuilliers
wrote:
> On 9 mar, 09:01, maciekjbl wrote:
> > My base template :
> >
> > Strona G³ówna •
> > Wyszukaj Producenta: > name="q">
>
> Is that the full (relevant) code ? If yes, the closing tag is
> missing, and you don't have any submit in it (and
On 9 mar, 09:01, maciekjbl wrote:
> Hi,
>
> My problem is how can I separate two request on the same site. This
> situation is caused by text field in base template and form in another
> template which extends base.
(snip)
>
> My base template :
>
> Strona G³ówna •
> Wyszukaj Producenta:
On Wed, Mar 9, 2011 at 4:34 PM, bruno desthuilliers
wrote:
>
>
> On 9 mar, 14:58, Norberto Leite wrote:
>> Rule number one of any html:
>> Only one form per page!
>
> I have quite a few sites (django or whatever) with many forms per
> page. It's just a matter of being careful with forms actions a
On 9 mar, 14:58, Norberto Leite wrote:
> Rule number one of any html:
> Only one form per page!
I have quite a few sites (django or whatever) with many forms per
page. It's just a matter of being careful with forms actions and
fields names.
--
You received this message because you are subscri
Rule number one of any html:
Only one form per page!
I would recommend the usage of template_tags / include tag to control the
usage of only one form or the usage of 2 different base.html.
Since I'm a strong supporter of DRY I wouldn't 2 different types of
base.html but would control the encoding
Hi,
My problem is how can I separate two request on the same site. This
situation is caused by text field in base template and form in another
template which extends base.
My view.py:
def search(request):
if 'q' in request.GET:
term = request.GET['q']
prod =
Producent.objects
7 matches
Mail list logo