table.
--
Collin Grady
Haste makes waste.
-- John Heywood
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@g
Dmitri Fedortchenko said the following:
> Still, the most logical course is to override the save method.
I'd say the more logical course is to stop using admin for this ;)
--
Collin Grady
QOTD:
"If I'm what I eat, I'm
ssage seems clear to me. ;)
It's not meant to do absolutely everything though - trying to hack it to
do something it doesn't is usually harder than writing a really simple
custom view :)
--
Collin Grady
If I had any humility I would be perfect.
-- Ted Turner
--~--~---
[EMAIL PROTECTED] said the following:
> Not sure why, but when I tried to submit a ticked for this it was
> rejected repeatedly as suspected spam.
If you register for a trac account it should avoid that issue.
--
Collin Grady
Academic politics is the most vicious and bitter form of po
Jeremy Dunck said the following:
> I feel OK about having to manually call post_save when I override
> Model.save, but adding it now just results in post_save being called
> twice.
Couldn't you just fire your own signal? :)
--
pens even when ipython
isn't present, so it should be parsing the normal stuff in that case, right?
--
Collin Grady
A robin redbreast in a cage
Puts all Heaven in a rage.
-- Blake
--~--~-~--~~~---~--~~
You received this message because you are subsc
Don Spaulding said the following:
> into the irc channel (#python on irc.freenode.net) to get the help
I think you mean #django on irc.freenode.net :)
--
Collin Grady
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
icit form where you tell it what to save, while the later ones
auto-detect modified fields.
--
Collin Grady
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post t
Use/setup/etc questions should be directed to django-users, as
django-developers is for the discussion of the development of django
itself :)
--
Collin Grady
Paranoia is heightened awareness.
--~--~-~--~~~---~--~~
You received this message because you are
required.
Though admittedly, I don't know ModelForms very well yet, so I could be
missing something :)
--
Collin Grady
Earth is a beta site.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developer
http://code.djangoproject.com/ticket/4102
--
Collin Grady
If condition persists, consult your physician.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this g
Mike Scott said the following:
> Is this an approach the bulk of the Django community are interested in
> taking or is it something that we should leave to the things that do it
> best, ie: Apache and the like.
-1 to handling media through Django, that's the job of the webserver
efault
settings.py template that includes a value for ADMIN_MEDIA_PREFIX, I
think you're overestimating how many people would actually be impacted,
since I think most of them would be using a file based on that :)
--
Collin Grady
In space, no one can hear you fart.
--~--~-~--~~-
AmanKow said the following:
> Any mysql gurus out there with some advice as to how to turn off this
> behavior?
The mysql docs and several things I've found online (including code from
Rails) indicates that simply "SET SQL_AUTO_IS_NULL=0" should work,
unless they broke it
---+
| 0 |
+--------+
1 row in set (0.00 sec)
--
Collin Grady
(1) Never draw what you can copy.
(2) Never copy what you can trace.
(3) Never trace what you can cut out and paste down.
--~--~-~--~~~-
syntax used.
However, with svn, you can inline the login_required right in urls.py;
from django.views.generic import simple
#...
(r'^foo/$', login_required(simple.direct_to_template), info_dict),
--
Collin Grady
Hearts will never be practical until they can be made unbreakable.
wanted to bring it to mind so
maybe it could be dealt with in the new year if someone has some spare
time :)
--
Collin Grady
"If anything can go wrong, it will."
-- Edsel Murphy
--~--~-~--~~~---~--~~
You received this message because
a 'name' field, but nothing works.
[1]http://groups.google.com/group/django-developers/browse_thread/thread/8774da1fd5b77eb1
--
Collin Grady
Anyone can make an omelet with eggs. The trick is to make one with none.
--~--~-~--~~~---~--~~
You recei
rict
allowed characters, but you can't really go the other direction :)
--
Collin Grady
Pause for storage relocation.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post
>> to talk to about getting it done?
>
> http://freenode.net/group_registration.shtml
Monthly bump ;)
--
Collin Grady
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" gro
don't see that this is a backwards incompatible change, myself.
--
Collin Grady
All celebrity voices impersonated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To po
rective...>
>
>
>
> {{ item[0] }} -- {{ item[1] }} -- {{ item[2] }}
> {{ item[3] }}
> {{ item[4] }}
>
These can already be done, just loop over the form, or use the manual
items like {{ form.fieldname }}, {{ form.fieldname.label_tag }},
{{ form.fieldname.errors }}
this nature should be directed to the django-users list.
This list is for the discussion of the development of django itself, not
on how to do things using it :)
--
Collin Grady
BOFH excuse #101:
Collapsed Backbone
--~--~-~--~~~---~--~~
You received this m
s are open, but we're only focusing on it because it's been
ignored, and it's wasting far more time for the users who constantly hit
the issue due to the poor default setting.
[1] http://code.djangoproject.com/ticket/2891
--
Collin Grady
Matter will be damaged in
Malcolm Tredinnick said the following:
> It's hardly been ignored. There was quite a spirited thread last time it
> came up.
The ticket is still "Closed: wontfix" which looks ignored to me :)
--
Collin Grady
Just remember, wherever you go, there you are.
Collin Grady said the following:
> The ticket is still "Closed: wontfix" which looks ignored to me :)
It's been pointed out to me that the tone of my messages could come
off a bit rude - I did not intend that, and I apologize if that is the
case.
--
Collin Grady
The r
a variable bar as, say, 3,
and
have a way to do foo.bar where it's really doing foo.3
Hence the filter looking it up by the value of the variable, not as a string.
--
Collin Grady
"Fantasies are free."
"NO!! NO!! It's the thought police"
--~--
Dj Gilcrease said the following:
> On Tue, Mar 4, 2008 at 10:59 AM, James Bennett <[EMAIL PROTECTED]> wrote:
>> Thoughts?
>
> he cant do something like http://dpaste.com/38006/ ?
Should probably be field.label instead of field.label_tag, no? :)
--
Collin Grady
&qu
vcc said the following:
> How about: {{ foo.__bar__ }} ?
Except you can't use _ as the first character in a template lookup like that,
and the __foo__ naming method is already taken by existing things like __get__,
__contains__, and other such methods/attributes :)
--
Collin Grady
N
lls - you need to stop trying to use things with double meanings :)
--
Collin Grady
War is peace. Freedom is slavery. Ketchup is a vegetable.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers&qu
same action, just one being a
variable and the other a string.
--
Collin Grady
Albrecht's Law:
Social innovations tend to the level of minimum tolerable well-being.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
t.user}}} and is completely separate.
Except request.user is loaded by using a user id stuffed in session, so they
are
definitely tied together right now :)
--
Collin Grady
The reward of a thing well done is to have done it.
-- Emerson
--~--~-~--~~~---
_format string, kinda like input_formats.
I haven't tried to use it, but couldn't a DateTimeInput widget with those
fields
solve the problem? It accepts a format arg which is how it will render its data
- combined with the right input_formats in the field, it stands to reason that
would
Simon Litchfield said the following:
> Tad ugly though, don't you think? Most platforms/languages/frameworks
> handle the MDY/DMY situation relatively elegantly using some kind of
> setting.
Well I wasn't pitching it as the best solution, just *a* solution :p
--
Collin Gra
ed with qsrf, so when it merged, all the new docs were
merged in also, just mixed in with the normal db-api and model-api pages, among
others.
--
Collin Grady
Give a man a fish, and you feed him for a day. Teach a man to fish,
and he'll invite himself over for dinner.
"
may break your code, especially if you're using undocumented internals.
--
Collin Grady
A professor is one who talks in someone else's sleep.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djang
Steve Holden said the following:
> If you want considered opinions you would do well to wait longer than 51
> minutes!
You should check the date as well as the time; he sent the first email
*two days* before the second.
--
Collin Grady
BOFH excuse #244:
Your cat tried to eat the
o my inbox so that they're threaded in.
--
Collin Grady
Measure with a micrometer. Mark with chalk. Cut with an axe.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To
SmileyChris said the following:
> You were using a new feature (albeit the wrong one) so that's not
> really a backwards incompatible issue, is it?
The old ObjectPaginator class is going away though, isn't it? That sounds
like backwards incompatible to me ;)
--
Collin
David Cramer said the following:
> If that is the case, then annotate would replace GROUP BY, and should
> also be able to replace distinct().
Why would replacing distinct() ever make any sense?
--
Collin Grady
--~--~-~--~~~---~--~~
You received this m
select in order to get distinct
is absolutely idiotic, so why even suggest it?
.distinct() maps to DISTINCT, and even if in some way its identical, there's no
harm leaving it for the ease of use.
--
Collin Grady
"If you don't want your dog to have bad breath, do what I do: Pour a
on would fit better on django-users - the django-developers list is
for development of django itself, not general topics regarding developing with
django.
--
Collin Grady
And ever has it been known that love knows not its own depth until the
hour of separation.
-- K
bedros said the following:
> are you guys aware of any document based database open source
> implementation in Python such as strokeDB for Ruby
This question does not belong on this list - this list is for the discussion of
the development of django itself, not for other questions.
--
Usage questions such as this should go to the django-users mailing list. The
django-developers list is for the development of django itself, not just for
developers who use django.
--
Collin Grady
Some people live life in the fast lane. You're in oncoming tr
Usage questions belong on django-users - this list is for the development of
django itself.
--
Collin Grady
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this g
101 - 145 of 145 matches
Mail list logo