Ok, I just added a ticket(http://code.djangoproject.com/ticket/3119).
Forget this patch at this time.
Do you have any idea?
2006/12/4, tsuyuki makoto <[EMAIL PROTECTED]>:
> Hello django developers.
>
> Currently, FIleField and ImageField store file-system-safe file name.
> Imagine, if user upload
Adrian Holovaty wrote:
> On 12/8/06, Gary Doades <[EMAIL PROTECTED]> wrote:
> > Also, how can I pass a validator_list to get similar functionality to
> > manipulators? Having the ability to supply a validator_list containing
> > a list of small single purpose validators is quite nice. Have I misse
> On 01/11/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
>
> # select pg_constraint.conname, pg_constraint.contype,
> pg_attribute.attname from pg_constraint, pg_attribute where
> pg_constraint.conrelid=pg_attribute.attrelid and
> pg_attribute.attnum=any(pg_constraint.conkey) and
> pg_constraint
Sergey Kirillov wrote:
> Greetings,
>
> While researching strange IE behaviour at some pages of my
> Django-powered site I've found that Django does not handle BOM marks
> correctly.
>
> For instance I have following templates (!UTF_8_BOM! = EF BB BF):
>
> --- base.html
> !UTF_8_BOM! Transition
Hi,
nice work. I have been trying to come up with a solution of my own,
but I ran into some problems/questions:
1) I think it would be better to allow (but not force) users to add
actions after every step and a final done() - I have NO idea how to do
this, at least no working idea...
2) I don't k
On 12/8/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> On 12/8/06, Deryck Hodge <[EMAIL PROTECTED]> wrote:
> >
> > Hi, all.
> >
> > Regarding the join table that is created on ManyToMany relationships,
> > there doesn't seem to be a way to override the name given to the
> > table. Am I ov
On 12/8/06, Deryck Hodge <[EMAIL PROTECTED]> wrote:
>
> Hi, all.
>
> Regarding the join table that is created on ManyToMany relationships,
> there doesn't seem to be a way to override the name given to the
> table. Am I overlooking this somehow? If not, does anyone else think
> a join_table opti
Here's an example template:
{% extends "base.html" %}
{% block content %}
{% if form.errors %}Please correct the following errors{% else
%}{{ form_step_name }}{% endif %}
{{ form }}
{% if not first %}
{% endif %}
{% if not last %}
{% endif %}
{% if last %}
{% endif %}
{% endb
Here's a first attempt. As such, this code does per-page validation
only.
import cPickle as pickle
import base64
from django.core.exceptions import ImproperlyConfigured
from django.http import HttpResponse,HttpResponseRedirect
from django.shortcuts import render_to_response
from django.newforms
On 8 Dec 2006, at 19:10, JP wrote:
> What I've always done in these cases is carry a MAC along with the
> hidden data and just validate that the hidden data hasn't changed by
> re-hashing it after each form submit. You don't really need to
> re-validate the already-validated data, you just need to
Adrian Holovaty wrote:
> Hey Gary,
>
> Great suggestion! Based on your idea, I've just checked in an extra
> hook, Field.widget_attrs(), which lets a Field specify any HTML
> attributes to add to its Widget. I've implemented the maxlength
> attribute for CharField, so your example can be rewritt
Honza Král wrote:
>> Also, how can I pass a validator_list to get similar functionality to
>> manipulators? Having the ability to supply a validator_list containing
>> a list of small single purpose validators is quite nice. Have I missed
>> something?
>
> you can subclass the Field class and add
On 12/8/06, Gary Doades <[EMAIL PROTECTED]> wrote:
> I'm just starting to contsruct a form or two with the newforms package.
> It works very nicely. However I have a couple of points so far:
>
> It would be nice for the CharField field to output a "maxlength"
> attribute if the max_length paramete
> > You could probably have a partial validation, per-page, and a complete
> > one on the final page, essentially re-validating all the fields.
> > HTML-escaping of these hidden fields values would be mandatory in all
> > cases anyway.
>
> Yes, my thoughts exactly. Per-page validation, plus a fina
On 12/8/06, Gary Doades <[EMAIL PROTECTED]> wrote:
>
> I'm just starting to contsruct a form or two with the newforms package.
> It works very nicely. However I have a couple of points so far:
>
> It would be nice for the CharField field to output a "maxlength"
> attribute if the max_length paramet
I'm just starting to contsruct a form or two with the newforms package.
It works very nicely. However I have a couple of points so far:
It would be nice for the CharField field to output a "maxlength"
attribute if the max_length parameter is set. Otherwise we have to do
this:
name =
CharField(ma
On 12/8/06, Sergey Kirillov <[EMAIL PROTECTED]> wrote:
> For instance I have following templates (!UTF_8_BOM! = EF BB BF):
Sort of off-topic, but why are you using a BOM in UTF-8? ;)
--
"May the forces of evil become confused on the way to your house."
-- George Carlin
--~--~-~--~--
Greetings,
While researching strange IE behaviour at some pages of my
Django-powered site I've found that Django does not handle BOM marks
correctly.
For instance I have following templates (!UTF_8_BOM! = EF BB BF):
--- base.html
!UTF_8_BOM!http://www.w3.org/TR/html4/loose.dtd";>
blah-blah-blah
Hi, all.
Regarding the join table that is created on ManyToMany relationships,
there doesn't seem to be a way to override the name given to the
table. Am I overlooking this somehow? If not, does anyone else think
a join_table option would be as useful as the db_table one?
Cheers,
deryck
--
D
Hello.
I've submitted a patch on ticket #914. The patch changes the behavior of
the include_admin_script-templatetag. Should this have a regression test
as well? If so, in what file should i put the test?
--
Matias Hermanrud Fjeld
--~--~-~--~~~---~--~~
You recei
Russell Keith-Magee wrote:
> On 12/6/06, Lakin Wecker <[EMAIL PROTECTED]> wrote:
>> I am also interested in helping with this situation. I've run into quite a
>> few patches that are reportedly working for some people.How do we help
>> get these triaged?
>
> A well triaged patch has the f
21 matches
Mail list logo