ove scenarios anyway.
What do you think? Is there something I've overlooked?
Best,
Flo
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from thi
ayed". It seems that Django redirected the page to an unkonw
site.
I'm using Django 1.2.4 & Python 2.6.6 in WinXP.
Any help will be highly appreciated. Thanks!!
Flo
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To po
I am sorry folks, I just found the corresponding issue:
http://code.djangoproject.com/ticket/9245
however, i would still be interested in discussing the reasons behind
this - and why the patch provided in the ticket did't get applied
yet ;)
choices are defined, if form_class is a subclass of ChoiceField an if
so, leave it alone. Otherwise the default (TypedChoiceField) can be
used as it is the case now. What do you people think?
I could open a ticket if feedback here suggests so. All other
suggenstions regarding my code are welcome!
tags (link)" - I think this is really something that people coming
from other frameworks have to be pointed to.
Thanks for the insightful discussion, as always!
Flo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
on).
OK, the "long line" argument and short tags are a point, but I still
see the maintenance of multiple nested levels of {% with %} context as
much more problematic.
Well, anyway, thanks for clarification, if anyone thinks I should
carry this t
r technique
to do things like that in a readable and straightforward way? I
wouldn't want to write a custom template tag for things that only
concern presentation and can be done entirely in the template
language.
Regards,
Flo
--~--~-~--~~~---~--~~
You received th
that I tried that without success
before. Anyway, it works perfectly now. Probably a typo in my earlier
attempt...
Thanks, Karen!
Flo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
ll '---' for the None choice and not 'Nothing
here' as I would have expected. Any suggestions how I could change
that default value, preferrably even without introducing my own
subclass?
Regards,
Flo Ledermann
--~--~-~--~~~---~--~~
You re
in my settings. Will open a
ticket once I am back from a meeting.
Regards,
Flo
On Jan 11, 2:22 pm, Malcolm Tredinnick
wrote:
> On Sun, 2009-01-11 at 03:41 -0800, Flo Ledermann wrote:
> > Hi all,
>
> > I just bumped into a problem I can't resolve: after adding the {%
Oh, I should probably add that I am using
# coding=utf-8
on some of my source files, because they contain unicode default
values etc.
Flo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
aracter u'\u2019' in position 19: ordinal not in range(128)
I haven't used the debug tag before, and googleing the error message
didn't bring up anything useful for me, so I am turning to the group
for help. I paste the stack trace and a subset of my settings below.
Thanks
on this issue, I would rather look into creating a
custom template tag (which I never did before) to extract individual
fields of a model and render an AJAX-capable form to update them. I
will let you all know if I ever find the time ;)
All the best,
Flo
--~--~-~--~~
, Malcolm Tredinnick
wrote:
> On Thu, 2009-01-08 at 07:08 -0800, Flo Ledermann wrote:
> No. Don't ask the form class to read your mind. Create a form that knows
> which fields it expects so that errors can be raised correctly and
> validation will occur normally.
I am not asking
. In my use case I have a small form to edit
each individual field of the model - so i would have to create or
customize a form for every one of its fields. With my approach I can
control in the template which fields of the ModelForm are rendered and
these are then the only fiel
data before saving. Is this the way the pro's in this
group would do it?
I could still see some demand to put this into the core form logic
(controllable by a flag), what do you think?
Best regards and shout outs to everyone using Django,
the default behavior?
I believe the issue is actually not constrained to ModelForms but
probably applies to all forms in general, but it would be especially
handy to use ModelForms in such a sparse way in some scenarios.
Regards,
Flo Ledermann
--~--~-~--~~~---~--~~
I think that
>>> print my_query_set.query.as_sql()
should do the trick.
Thanks,
Eric Florenzano
On Dec 30, 12:11 pm, Info Cascade
wrote:
> Hi --
>
> I am getting intermittent errors on certain database queries on our
> production server.
> I am having a hard time duplicating them (most of the
reconsideration of how these things are set up?
(besides posting in this forum)
all the best,
flo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
Hi all,
my name is flo, i am relatively new to django but would consider
myself an experienced web developer. I am sorry if this has been asked
hundreds of times, but after doing somewhat extensive research i still
would like to gain some insight into the design decisions involved in
how
Hi,
Hi,
I have the following code fragment that I call via an Ajax call (from
prototype), it throws an exception that I can't tie down - i don't get
any console output and the code runs fine when i simulate it in the
shell - so I assume it's related to the incoming POST parameter. The
result of t
21 matches
Mail list logo