2008-8-11
| 23:33 | the_lord_laptop | Magus-: hehe, sorry |
| 23:33 | ViRUS | Kurushiyama, ah, you're right in a way. Though since we plan on having the backup servers distributed it makes things a bit difficult to have a serial line running from FFM to Nuremberg, right? ;-) |
| 23:34 | edvinas | keseldude: i get them from basic.* (11 of them) |
| 23:34 | ViRUS | Kurushiyama, and backup servers sitting right besides each other is pointless |
| 23:34 | Your_IT | simple newbie help request: how do I display the vlaues from a many to many object http://dpaste.com/70830/? |
| 23:34 | Kurushiyama | ViRUS: so you plan to have hot standby's via a public internet connection? good luck! |
| 23:34 | ilogik | with "search" i can do a fulltext search in boolean mode. is there a way to do a natural language search? (other than writing the query myself) |
| 23:34 | Kurushiyama | ViRUS: you'll have a split brain in seconds |
| 23:34 | __machine | what's a good way to store a playlist in models? i made a singleton class for it but i need it to persist across multiple processes... |
| 23:35 | __machine | should i just serialize it to disk instead of storing in models? |
| 23:35 | Magus- | the_lord_laptop: em.headers won't work |
| 23:35 | eka_ | I'm getting a NoReverseMatch error using {% url %} tag... but another url name is working... how can i debug this? |
| 23:35 | Magus- | the_lord_laptop: you should pass the dict as the "headers" kwarg to the EmailMessage constructor, or set em.extra_headers later |
| 23:35 | Magus- | eka_: provide more info first |
| 23:35 | Kurushiyama | ViRUS: backup servers (hot standbys) are for hardware failure situtations, nothing else |
| 23:35 | ilogik | Your_IT: i think thar should be {% for publication in publisher_detail %} |
| 23:35 | Magus- | make sure you're providing args of the proper format |
| 23:35 | ilogik | Your_IT: i mena publisher_detail.something |
| 23:36 | ilogik | *mean |
| 23:36 | the_lord_laptop | mmm, extra_headers |
| 23:36 | the_lord_laptop | begginer mistake |
| 23:36 | Kurushiyama | ViRUS: but on the other hand: what are you goig to charge for a hot standby 2GB RAM host? |
| 23:36 | the_lord_laptop | Magus-: thx |
| 23:36 | the_lord_laptop | Magus-: I'll try |
| 23:36 | ViRUS | Kurushiyama, we got a bit different philosophy there. Though this channel is not so hosting centric. |
| 23:37 | eka_ | Magus-: http://dpaste.com/70834/ |
| 23:37 | Magus- | eka_: "doesnt work" tells us nothing |
| 23:37 | Magus- | what are you doing that doesn't work? |
| 23:37 | Kurushiyama | ViRUS: that has NOTHING to do with philosophy. how long do you want to set your haertbeats to make sure you don't get a split brain situation? and how many repeats? |
| 23:38 | eka_ | Magus-: sorry, I get NoReverseMatch: Reverse for 'cms.coltrane_tag_entries' not found. when rendering the template |
| 23:38 | Magus- | Kurushiyama / ViRUS: if you're going to talk hosting, can you take it to /msg ? :) |
| 23:38 | Your_IT | ilogic: like publisher_detail.all ? |
| 23:38 | eka_ | Magus-: p><a href="{% url coltrane_tag_entries tag.name %}">Go to tag. . .</a></p> |
| 23:38 | Magus- | THERE we go |
| 23:38 | Magus- | and tag.name is a slug formatted string? |
| 23:38 | Kurushiyama | Magus-: will do, just wanted to make sure the wekanesses are public |
| 23:38 | ilogik | Your_IT: what is publisher_detail? can you put your model in dpaste? |
| 23:39 | the_lord_laptop | Magus-: done, thx a lot |
| 23:39 | Your_IT | ilogic: http://dpaste.com/70835/ |
| 23:39 | keseldude | eka_: should be {% url app.views.coltrane_tag_entries tag.name %} |
| 23:40 | eka_ | Magus-: http://dpaste.com/70836/ |
| 23:40 | eka_ | keseldude: why_ |
| 23:40 | Magus- | keseldude is wrong |
| 23:40 | keseldude | where app is the name of the app |
| 23:40 | eka_ | keseldude: If i'm using like this in another templeate |
| 23:40 | Magus- | eka: he's wrong |
| 23:40 | Magus- | so don't worry about that |
| 23:40 | eka_ | Magus-: ok |
| 23:40 | Magus- | keseldude: you only use the full path if its a view name, not the url name |
| 23:41 | eka_ | Magus-: tag is a tag object that I get |
| 23:41 | keseldude | ok |
| 23:41 | Magus- | eka_: whats the value of tag.name though |
| 23:41 | eka_ | Magus-: a string |
| 23:42 | eka_ | Magus-: but still i took that out... and still doesnt work |
| 23:42 | ilogik | Your_IT: try publisher_detail.publication_set.all |
| 23:42 | eka_ | Magus-: doesnt find the url name |
| 23:42 | Magus- | eka_: *sigh* give me A REAL VALUE |
| 23:42 | Magus- | I could guess that's its a string |
| 23:42 | eka_ | ok |
| 23:42 | Magus- | "a string" tells me jack :þ |
| 23:43 | eka_ | Magus-: jobs |
| 23:43 | Magus- | ok, thank you |
| 23:43 | Magus- | then I see no reason it shouldn't work |
| 23:43 | Magus- | so I'm out of ideas |
| 23:43 | Your_IT | ilogik: i.e {% for publication intry publisher_detail.publication_set.all %} |
| 23:43 | Magus- | s/intry/in/ |
| 23:43 | jSnow | evening: is it possible to use in admin in a list_display a field from a foreign key field of that model |
| 23:43 | Your_IT | I meant {% for publication in publisher_detail.publication_set.all %} |
| 23:43 | ilogik | Your_IT: yeah, and inside the for i think it should be publication.title |
| 23:43 | eka_ | Magus-: but my doubt arise from that this <a href="{% url coltrane_tag_list %}">Tags</a></li> is working... and if you look at the first paste its a name there |
| 23:44 | ilogik | yeah, give it a try |
| 23:44 | Magus- | eka_: like I said, it all looks FINE |
| 23:44 | Magus- | I see NO REASON it should not work |
| 23:44 | ilogik | |
| 23:44 | Magus- | so I can not help anymore |
| 23:44 | eka_ | Magus-: any way I can debug this? |
| 23:44 | Magus- | I have no idea |
| 23:44 | Magus- | please stop asking me anythign more, I can't help :þ |
| 23:44 | Magus- | as I said, I'm out of ideas |
| 23:44 | Magus- | if I had an idea where to go, I'd say it |
| 23:44 | eka_ | Magus-: ok sorry |
| 23:45 | Your_IT | ilogik: fixed. thanks so much |
| 23:46 | ilogik | np :) |
| 23:46 | edvinas | are there any specific settings required to get coltrane to work with django, i have installed django 1.0a2 but just get a message saying: AttributeError: 'module' object has no attribute 'connect'... any ideas? |
| 23:47 | suhail | Hey, was there a change with the maxlength param in models between 0.96.2 -> 1.0 alpha? |
| 23:47 | mattmcc | suhail: Yes. |
| 23:47 | suhail | What's the change? |
| 23:47 | mattmcc | suhail: There have been _many_ changes between 0.96 and 1.0 alpha. You'll want to review http://code.djangoproject.com/wiki/BackwardsInc... |
| 23:48 | ilogik | the main change i think is that it's called max_length :) |
| 23:48 | suhail | mattmcc: I was just doing a demo project from a book I am reading about django |
| 23:48 | suhail | ah cool |
| 23:49 | suhail | thanks guys |
| 23:49 | sammcd | looks like strange hacked together stuff doesn't work on the latest django trunk. |
| 23:50 | mattmcc | 'Strange hacked together stuff'? |
| 23:50 | jSnow | is there no way around doing something like list_display = ('field1', 'field2', 'myforeignkey.name') |
| 23:52 | sammcd | mattmcc: I am a mac developer and django is kind of a hobby for me right now. Just updated the trunk for the first time in 2/3 months, and it is giving me an error. I look at the code, and I'm not sure what it was, but it looks like it was my tying together loose ends to get it to work. |
| 23:58 | Magus- | sammcd: did you read the backwards incompatible changes page before updating? |
| 23:58 | Magus- | jSnow: no, you can't list fkey fields like that |
| 23:58 | sammcd | Magus-: No, but I'm in my development version. |
| 23:59 | jSnow | is there a way around |
Page 35 of 35
← Previous
(3,500 total)