2008-8-9
| 23:46 | timboy | Kurushiyama, ok thx for the tip |
| 23:46 | Kurushiyama | timboy: or a m2m, vice versa |
| 23:51 | sangosimo | Kurushiyama : ty so much for you help |
| 23:52 | Kurushiyama | sangosimo: does it work? |
| 23:52 | sangosimo | yeah I got it |
| 23:53 | ilogik | how can i check if a many-to-many relationship exists, add or delete one? i'm not seeing anything like this in the docs |
| 23:53 | Magus- | then you're not looking very well ;) |
| 23:54 | ilogik | i found adding one :) |
| 23:54 | Magus- | |
| 23:54 | Magus- | shows .add and .remove |
| 23:54 | Kurushiyama | sangosimo: fine. |
| 23:55 | ilogik | thanks, i was looking at the db-api |
| 23:55 | Kurushiyama hits the sack | |
| 23:55 | davidcramer | Anyone use a projector for a tv? |
| 23:55 | davidcramer | im debating sticking with our lcd, or buying one |
| 23:56 | Magus- | quite off topic here :) |
| 23:56 | davidcramer | ya ya |
| 23:56 | davidcramer | theres no #projectorsfortvs ;) |
| 23:56 | davidcramer | Magus-: are you metajack |
| 23:56 | Magus- | no |
| 23:56 | davidcramer | you do some chess thing tho dont you |
| 23:56 | Magus- | he's my boss |
| 23:56 | Kurushiyama | davidcramer: to end this: projectors su** compared to a decent LCD |
| 23:56 | davidcramer | oh |
| 23:56 | timboy | is there a command to drop the tables from an app? i tried sqlclear but that only displays... |
| 23:57 | sPeeDy | is it possible to check width and height of an InMemoryUploadedFile ? |
| 23:57 | davidcramer | Kurushiyama: thanks :) |
| 23:57 | Magus- | timboy: of course it only displays |
| 23:57 | davidcramer | Magus-: http://metajack.wordpress.com/2007/07/25/do-you... -- do you know if this still applies today? |
| 23:57 | Magus- | sql* means it prints sql |
| 23:57 | Magus- | nothing more |
| 23:57 | timboy | Magus-, ok that's fine |
| 23:57 | Magus- | davidcramer: if what applies? |
| 23:57 | davidcramer | those db issues |
| 23:58 | Magus- | ? |
| 23:58 | davidcramer | because i was helping someone yesterday, and they found that 60 queries (instant queries) were adding 280ms to the render time |
| 23:58 | Magus- | you mean the tickets he mentioned? |
| 23:58 | Magus- | they're still open |
| 23:58 | davidcramer | ok so the db issues are still present |
| 23:58 | davidcramer | alright |
| 23:58 | Magus- | #3460, #3461, #3575 |
| 23:58 | DjangoBot | |
| 23:58 | DjangoBot | |
| 23:58 | DjangoBot | |
| 23:58 | Kurushiyama | timboy: though I wanted to go to bed: "DROP TABALE <tablename>;" in the respective cli client |
| 23:58 | kennethlove | from how i'm reading the docs, any model with a ForeignKey field has model.fk_set, right? |
| 23:58 | Magus- | and #4102 |
| 23:58 | DjangoBot | |
| 23:59 | timboy | Kurushiyama, thx that's what I did. just didn't know if it was a built in command |
| 23:59 | timboy | Kurushiyama, go to bed... ;) |
| 23:59 | timboy | thx for the help! |
| 23:59 | davidcramer | im gonna go do some tests, im curious as to if #3575 applies to mysql |
| 23:59 | DjangoBot | |
| 23:59 | Magus- | um |
| 23:59 | Magus- | read the comments, ditz |
| 23:59 | Magus- | :รพ |
| 23:59 | ilogik | Magus-, i still didn't find a way to check if a relation exists in a m2m field. should i just do a get and catch the exception? |
| 23:59 | Magus- | I already did some mysql testing |
Page 22 of 22
← Previous
(2,158 total)