2009-7-8
| 23:49 | jhawk28 | davidcramer_: k, thanks - its how most other ORMs handle it (Hibernate) |
| 23:49 | DarwinSurvivor | mattmcc, polpak: here is an example: http://dpaste.com/64822/ |
| 23:49 | davidcramer_ | i think i see an answer FunkyBob |
| 23:49 | davidcramer_ | int heir FAQ it says this |
| 23:50 | davidcramer_ | oh wait nvm |
| 23:50 | davidcramer_ | gonna check mod_pythonc onflict first |
| 23:50 | DarwinSurvivor | mattmcc, polpak: oops, sorry, dis-regard that (made a mistake) |
| 23:50 | davidcramer_ | FunkyBob: i like the idea of stdout->stderr tho im going to add that to the handler |
| 23:51 | DarwinSurvivor | mattmcc, polpak: here we go: http://dpaste.com/64823/ |
| 23:52 | DarwinSurvivor | basically, I need Foo to be able to iterate through all "SubBar1" and "SubBar2" objects and call "talk()", but ignore all "Other" objects (since they don't have a talk() method) |
| 23:53 | mattmcc | What if they did have a talk method? |
| 23:53 | pilgrim | What's the best way to do this: in a form, I only want to make a field required if a radio button (another field) is checked. |
| 23:54 | DarwinSurvivor | then it still should *not* call them |
| 23:54 | paulh_ | Any suggested references for configuring django w/ a mail server? Im having trouble getting django to send out emails... |
| 23:54 | DarwinSurvivor | I specifically only want it to iterate through objects that extend Bar |
| 23:55 | mattmcc | pilgrim: Leave the field required=False, and then use custom validation to raise an error if the radio is checked and the field wasn't filled in. |
| 23:56 | rozwell | paulh_: there's not really anything to it other than setting the EMAIL_* settings |
| 23:56 | DarwinSurvivor | I've been playing with Foo._meta.get_all_related_objects(), but I can't figure out how to make it ignore "Other" objects |
| 23:58 | gonzalemario | SmileyChris: FunkyBob: thanks, bye! |
| 23:59 | DarwinSurvivor | mattmcc: any ideas how I would do that? |
Page 25 of 25
← Previous
(2,420 total)