Re: Overriding a Model's save() method does not allow proper creation of ManyToMany related objects

2007-11-06 Thread Collin Grady
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

Re: Overriding a Model's save() method does not allow proper creation of ManyToMany related objects

2007-11-07 Thread Collin Grady
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

Re: Overriding a Model's save() method does not allow proper creation of ManyToMany related objects

2007-11-07 Thread Collin Grady
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 --~--~---

Re: DecimalField returns default value as unicode string.

2007-11-08 Thread Collin Grady
[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

Re: Model post_save doesn't play well with Model.save overriding

2007-11-12 Thread Collin Grady
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? :) --

Re: Python history won't work in Django shell (maybe found bug?)

2007-11-13 Thread Collin Grady
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

Re: Getting Images to display in Development Environment

2007-11-21 Thread Collin Grady
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

Re: Best way to update only certain fields on a model instance?

2007-11-23 Thread Collin Grady
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

Re: django and plesk vhosts.conf

2007-12-07 Thread Collin Grady
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

Re: ModelForm.__init__() argument signature versus other newforms forms

2007-12-10 Thread Collin Grady
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

Re: Models to keep a copy of their last saved values?

2007-12-10 Thread Collin Grady
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

Re: Better Support for static file serving via django

2007-12-11 Thread Collin Grady
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

Re: Reconsider ADMIN_MEDIA_PREFIX default?

2007-12-18 Thread Collin Grady
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. --~--~-~--~~-

Re: Odd MySQL bug

2007-12-20 Thread Collin Grady
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

Re: Odd MySQL bug

2007-12-20 Thread Collin Grady
---+ | 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. --~--~-~--~~~-

Re: Simple Generic Views, Login_Required

2007-12-26 Thread Collin Grady
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.

#django registration

2007-12-27 Thread Collin Grady
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

ModelForms w/no pre-set model

2008-01-10 Thread Collin Grady
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

Re: Unicode usernames?

2008-01-28 Thread Collin Grady
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

Re: #django registration

2008-01-29 Thread Collin Grady
>> 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

Re: [7084] extends headaches

2008-02-05 Thread Collin Grady
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

Re: newsform Addition

2008-02-13 Thread Collin Grady
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 }}

Re: Form as Table

2008-02-13 Thread Collin Grady
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

ADMIN_MEDIA_PREFIX default value (#2891)

2008-02-18 Thread Collin Grady
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

Re: ADMIN_MEDIA_PREFIX default value (#2891)

2008-02-18 Thread Collin Grady
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.

Re: ADMIN_MEDIA_PREFIX default value (#2891)

2008-02-18 Thread Collin Grady
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

Re: Pick a value from list variable in templates

2008-03-03 Thread Collin Grady
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" --~--

Re: Ticket #6705

2008-03-04 Thread Collin Grady
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

Re: Pick a value from list variable in templates

2008-03-04 Thread Collin Grady
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

Re: Pick a value from list variable in templates

2008-03-05 Thread Collin Grady
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

Re: Pick a value from list variable in templates

2008-03-06 Thread Collin Grady
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

Re: django.contrib.sessions problems

2008-04-03 Thread Collin Grady
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 --~--~-~--~~~---

Re: Newforms DateField/DateTimeField initial value rendering

2008-04-08 Thread Collin Grady
_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

Re: Newforms DateField/DateTimeField initial value rendering

2008-04-08 Thread Collin Grady
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

Re: QSRF Related

2008-04-29 Thread Collin Grady
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.

Re: QSRF Related

2008-04-29 Thread Collin Grady
" 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

Re: Django port on OpenVMS - Oracle/Rdb backend

2008-05-01 Thread Collin Grady
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

Re: Django port on OpenVMS - Oracle/Rdb backend

2008-05-01 Thread Collin Grady
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

Re: Paginator Backwards Compatibility Post

2008-05-05 Thread Collin Grady
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

Re: On aggregates

2008-05-13 Thread Collin Grady
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

Re: On aggregates

2008-05-13 Thread Collin Grady
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

Re: Django vs. Oracle application

2008-05-20 Thread Collin Grady
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

Re: document based database

2008-05-20 Thread Collin Grady
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. --

Re: Object list with values to ForeignKey and ManyToMany

2008-05-27 Thread Collin Grady
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

Re: ERROR:cannot import name Post -- while using django signals

2008-05-28 Thread Collin Grady
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

<    1   2