I am using mysql_trunk_rev2360-1.diff by Greg on Python 2.4. So far it
works as expected --- TLS is clearly the way to go. Did anybody try it
with Python 2.3?
Greg's last suggestion was to use _thread_local.py. Probably this is the
best way to do it for 2.3.
If it works on 2.3, let's start lo
On 2/20/06, hugo <[EMAIL PROTECTED]> wrote:
>
> blank=True with implicit null=True isn't probably what users would
> expect when applying it to charfields. And having a rule where
> charfields have null=False in combination with blank=True and
> non-charfields have null=True with blank=True is rath
On Sunday 19 February 2006 00:21, Tom Tobin wrote:
> Hmm; while it would be good to support edge cases like that, I think
> the default should make general-use cases easier. Maybe null=True
> should automatically set blank=True for non-string fields, but still
> allow one to then explicitly set
>What are your thoughts on the modified proposal stated in my reply to
>Luke (i.e., keep both, but have blank automatically set to True when
>null=True and then allow the explicit setting of blank=False)?
blank=True with implicit null=True isn't probably what users would
expect when applying it t
On 2/20/06, hugo <[EMAIL PROTECTED]> wrote:
>
> >There currently seems to be a bit of redundancy with regards to the
> >"blank" and "null" field options
>
> So I am -1 on the proposal to get rid of one of those two. Every
> combination (even null=True and blank=False - think about legacy data)
> ma
The way I typically do this is:
1. Rename the schema.
2. Update my model files.
3. Re-run django-admin install install myapp.
4. Write SQL statements to migrate the data from the renamed schema to
the newly-regenerated schema.
This sounds riskier than it is, but my experience has been that as lo
On Feb 20, 2006, at 9:38 AM, Martin Ostrovsky wrote:
>
>
>
>
>
> I would want one python function to correspond to each of
> submit_action1 and submit_action2.
def my_view(request):
if request.POST.has_key('submit_action1'):
do_action_one(request)
elif
How does django map multiple form actions within one form to python
function calls ? For example, in the HTML below:
I would want one python function to correspond to each of
submit_action1 and submit_action2.
Thanks.
--~--~-~--~~~---~--~~
You recei
>I want to exit() a backend after it has processed a certain number of
>requests via FCGI (WSGI?). Any idea how to do it cleanly with Django?
I think you would have to do that by patching FLUP. I don't think you
can do it easily in Django. That's mostly because you don't have a way
to specify co
>There currently seems to be a bit of redundancy with regards to the
>"blank" and "null" field options; tickets #1043 and #1353 seem to be
>the inverse of one another, each addressing that one must specify both
>blank=True and null=True to get the expected behavior (i.e., being
>able to specify an
On 20/02/06, John Szakmeister <[EMAIL PROTECTED]> wrote:
> One thing that I've found, at least on Django's trunk code, is that if you do
> this, validation doesn't take place when you do model.save(). I tried
> setting up a couple of fields as "required if other fields is present", and
> it happil
On Sunday 19 February 2006 13:36, Michael Twomey wrote:
> On 19/02/06, xamdam <[EMAIL PROTECTED]> wrote:
> > Django models can already be manipulated outside of the web app with
> > manage.py shell
> > I am looking for a way to have a regular python script (say, running a
> > batch job) use the mo
12 matches
Mail list logo