[00:00:45] Лис is now xa
[00:02:27] Лис is now online
[00:05:11] zenmaks is now away
[00:05:13] Лис is now offline
[00:05:26] Typhon is now away
[00:05:35] Typhon is now online
[00:06:29] Effgen is now Я здесь.
[00:11:31] Effgen is now away
[00:14:04] a1fred is now away
[00:14:18] a1fred is now online
[00:14:48] лорд Морфий is now online
[00:19:14] PC is now online
[00:20:06] Effgen is now offline
[00:20:11] zenmaks is now I'm not here right now
[00:24:14] PC is now away
[00:24:48] лорд Морфий is now away
[00:25:11] zenmaks is now away
[00:26:51] Typhon is now away
[00:28:57] Typhon is now online
[00:34:14] PC is now xa
[00:36:11] a1fred is now away
[00:37:33] a1fred is now online
[00:38:58] jedgar is now offline
[00:38:59] jedgar is now online
[00:41:24] Typhon is now offline
[00:44:49] лорд Морфий is now xa
[00:46:23] a1fred is now away
[00:50:11] zenmaks is now I'm not here right now
[00:50:11] a1fred is now online
[00:55:11] zenmaks is now away
[00:55:42] a1fred is now away
[00:58:20] a1fred is now online
[01:01:10] a1fred is now offline
[01:01:13] a1fred is now online
[01:04:55] imbolc is now online
[01:07:34] lizzard is now away
[01:10:23] lizzard is now online
[01:13:57] imbolc: Привет :)
Как передать в функцию именованные аргументы, если их имена находятся в строках?
par= {'a':'11', 'b':'22', ...}Как написать что-то типа f(par), чтобы это означало f(a='11', b='22', '') ?
[01:17:11] jedgar is now away
[01:27:18] a1fred is now away
[01:27:54] Александp is now offline
[01:30:11] zenmaks is now I'm not here right now
[01:30:44] a1fred is now offline
[01:30:46] a1fred is now online
[01:32:26] a1fred is now online
[01:32:53] a1fred is now offline
[01:33:23] a1fred is now online
[01:33:39] a1fred is now away
[01:34:25] a1fred is now offline
[01:34:43] a1fred is now away
[01:35:11] zenmaks is now away
[01:35:35] a1fred is now away
[01:36:27] a1fred is now offline
[01:37:10] jedgar is now xa
[01:38:45] lizzard is now away
[01:43:47] lizzard is now online
[01:48:47] lizzard is now away
[01:58:47] lizzard is now online
[02:01:05] [ZioN] is now offline
[02:03:48] lizzard is now away
[02:13:47] lizzard is now xa
[02:16:53] lizzard is now online
[02:19:56] Sphinkx is now online
[02:20:05] imbolc: Нашёл: f(**par)
[02:20:21] imbolc is now offline
[02:26:36] Sphinkx is now away
[02:26:58] Sphinkx is now online
[02:46:30] Sphinkx is now away
[02:47:04] Sphinkx is now online
[02:55:24] Sphinkx is now away
[02:59:12] Sphinkx is now online
[03:22:49] lizzard is now away
[03:27:39] lizzard is now online
[04:41:04] lizzard is now xa
[04:50:10] Sphinkx is now away
[04:51:44] Sphinkx is now online
[04:52:44] лорд Морфий is now online
[05:02:45] лорд Морфий is now away
[05:22:44] лорд Морфий is now xa
[05:29:39] Sphinkx is now offline
[05:30:41] Sphinkx is now online
[06:27:45] лорд Морфий is now online
[06:42:36] лорд Морфий is now away
[06:51:38] лорд Морфий is now online
[06:52:37] Sphinkx is now offline
[07:08:35] [ZioN] is now online
[07:08:36] [ZioN] is now online
[07:46:09] red-agent is now online
[07:56:34] sintetico is now online
[07:56:35] sintetico is now online
[07:57:23] sintetico is now online
[08:02:05] MAVr is now Да, я тут
[08:02:06] MAVr is now Да, я тут
[08:02:24] sintetico is now online
[08:02:40] PC is now online
[08:02:54] pizgin is now online
[08:03:04] pizgin is now online
[08:04:22] MAVr: /me приветствует всех!
[08:07:25] sintetico is now online
[08:12:25] sintetico is now online
[08:14:35] red-agent is now away
[08:17:26] sintetico is now online
[08:19:49] red-agent is now online
[08:22:28] sintetico is now online
[08:23:53] emerald-wizard is now online
[08:23:56] emerald-wizard is now online
[08:24:16] emerald-wizard is now online
[08:24:18] emerald-wizard is now offline
[08:24:24] PC is now away
[08:27:29] sintetico is now online
[08:31:51] лорд Морфий is now away
[08:31:52] лорд Морфий is now online
[08:32:32] sintetico is now online
[08:34:24] PC is now xa
[08:37:31] sintetico is now online
[08:39:24] PC is now online
[08:42:33] sintetico is now online
[08:44:24] PC is now away
[08:44:38] red-agent is now away
[08:45:08] red-agent is now online
[08:45:09] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[08:47:34] sintetico is now online
[08:48:16] MAVr is now away
[08:48:19] MAVr is now away
[08:48:26] MAVr is now Да, я тут
[08:51:20] red-agent is now away
[08:52:10] nmk is now online
[08:52:35] sintetico is now online
[08:52:59] nmk: доброе утро
[08:54:24] red-agent is now online
[08:57:37] sintetico is now online
[08:59:31] red-agent is now away
[08:59:39] MAVr is now Да, я тут
[09:01:17] red-agent is now online
[09:02:38] sintetico is now online
[09:02:57] jedgar is now online
[09:07:39] sintetico is now online
[09:07:55] lizzard is now offline
[09:09:23] PC is now online
[09:12:41] sintetico is now online
[09:14:25] PC is now away
[09:14:40] red-agent is now away
[09:15:13] Лис is now online
[09:17:43] sintetico is now online
[09:17:45] Effgen is now away
[09:20:11] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[09:22:07] PC is now online
[09:22:42] sintetico is now online
[09:24:06] jedgar is now offline
[09:24:07] jedgar is now online
[09:24:39] Лис is now away
[09:24:40] red-agent is now xa
[09:26:39] red-agent is now online
[09:27:45] sintetico is now online
[09:29:19] Лис is now online
[09:31:35] emerald-wizard is now online
[09:31:37] emerald-wizard is now online
[09:31:57] emerald-wizard is now online
[09:32:45] sintetico is now online
[09:33:48] emerald-wizard is now offline
[09:36:17] PC is now away
[09:37:46] sintetico is now online
[09:42:47] sintetico is now online
[09:43:35] Effgen is now away
[09:44:52] jedgar is now away
[09:46:17] PC is now xa
[09:46:53] mishok13 is now online
[09:47:49] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[09:47:49] sintetico is now online
[09:51:17] PC is now online
[09:52:50] sintetico is now online
[09:56:00] tilarids is now online
[09:56:17] PC is now away
[09:56:32] лорд Морфий: re
[09:57:51] sintetico is now online
[10:02:52] sintetico is now online
[10:03:45] Effgen is now away
[10:04:41] Лис is now away
[10:04:52] jedgar is now xa
[10:05:35] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[10:06:17] PC is now xa
[10:07:52] sintetico is now online
[10:10:47] Effgen is now away
[10:12:34] mishok13 is now away
[10:12:47] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[10:13:01] sintetico is now online
[10:13:05] jedgar is now online
[10:14:14] mishok13 is now online
[10:15:31] Лис is now online
[10:17:46] renyare is now online
[10:18:02] sintetico is now online
[10:21:01] Effgen is now away
[10:21:09] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[10:21:17] PC is now online
[10:23:04] sintetico is now online
[10:26:17] PC is now away
[10:26:20] nmk is now away
[10:27:08] [ZioN] is now offline
[10:28:05] sintetico is now online
[10:29:31] nmk is now online
[10:32:42] MAVr is now dnd
[10:32:44] MAVr is now dnd
[10:33:06] sintetico is now online
[10:33:45] PC_ is now online
[10:36:17] PC is now xa
[10:38:07] sintetico is now online
[10:43:08] sintetico is now online
[10:44:06] PC_ is now away
[10:44:21] Лис: http://www.youtube.com/watch?v=fliNPnKJAQ8
[10:48:08] sintetico is now online
[10:50:37] Effgen is now away
[10:52:34] nmk: меня всегда интересовала как снимают кого-то в зеркале, почему камеры не видно..
[10:53:08] sintetico is now online
[10:54:06] PC_ is now xa
[10:54:07] mishok13: Лис, что за депресняк с утра?
[10:54:18] PC_ is now online
[10:55:30] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[10:58:10] sintetico is now online
[10:58:29] red-agent is now away
[10:59:34] PC_ is now away
[11:01:17] PC is now online
[11:02:27] slav0nic is now online
[11:02:44] renyare: Лис, под углом
[11:03:11] sintetico is now online
[11:04:10] renyare: + зум
[11:04:55] slav0nic is now offline
[11:05:39] slav0nic is now online
[11:06:17] PC is now away
[11:07:03] slav0nic is now xa
[11:07:16] PC_ is now online
[11:07:48] Лис is now away
[11:08:11] sintetico is now online
[11:08:29] red-agent is now xa
[11:10:10] лорд Морфий is now away
[11:11:11] Effgen is now away
[11:12:30] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[11:13:11] sintetico is now online
[11:13:46] Лис is now online
[11:16:17] PC is now xa
[11:18:12] sintetico is now online
[11:18:14] cutwater is now online
[11:19:19] kron0s is now online
[11:19:47] kron0s is now offline
[11:20:30] лорд Морфий is now online
[11:20:48] slav0nic is now offline
[11:21:03] slav0nic is now xa
[11:21:24] slav0nic is now offline
[11:21:46] bergamot is now online
[11:21:48] slav0nic is now xa
[11:23:12] sintetico is now online
[11:28:12] sintetico is now online
[11:28:13] cutwater is now away
[11:28:15] MerLex is now online
[11:29:31] Александp is now online
[11:30:40] MerLex: А как запустить из питона внешнюю программу подождать несколько секунд не выдаст ли она ошибку и если все нормально отсоединится от нее, при этом он должна продолжить свою работу?
[11:30:51] MerLex: Всем привет
[11:33:13] sintetico is now online
[11:33:13] Александp is now offline
[11:33:17] MerLex: Есть идея предварительно запустить ее подождать несколько секунд, завершить а потом запустить с флагом новайт
[11:33:21] лорд Морфий is now away
[11:34:25] cutwater is now online
[11:35:06] лорд Морфий is now online
[11:36:02] Alternativshik is now online
[11:36:50] red-agent is now online
[11:38:13] sintetico is now online
[11:43:11] mishok13: чочо?
[11:43:12] sintetico is now online
[11:43:51] red-agent is now offline
[11:45:06] лорд Морфий is now away
[11:45:14] Alternativshik is now away
[11:45:29] bergamot is now xa
[11:46:13] bergamot is now online
[11:47:50] Alternativshik is now offline
[11:48:13] sintetico is now online
[11:48:57] Alternativshik is now away
[11:52:36] Alternativshik is now online
[11:53:12] sintetico is now online
[11:54:25] sevenov is now online
[11:54:26] sevenov is now offline
[11:56:31] pizgin is now offline
[11:56:33] pizgin is now online
[11:56:35] pizgin is now online
[11:58:13] sintetico is now online
[12:02:07] лорд Морфий is now online
[12:03:13] sintetico is now online
[12:04:40] azzz is now online
[12:08:13] sintetico is now online
[12:08:23] Alternativshik is now offline
[12:08:40] Alternativshik is now online
[12:13:13] sintetico is now online
[12:16:18] Alternativshik is now away
[12:18:14] sintetico is now online
[12:19:57] mishok13 is now away
[12:20:29] Лис is now away
[12:23:16] sintetico is now online
[12:25:08] pizgin is now online
[12:25:09] pizgin is now offline
[12:25:10] pizgin is now online
[12:25:12] pizgin is now offline
[12:25:39] Лис is now online
[12:26:18] Alternativshik is now xa
[12:28:17] sintetico is now online
[12:28:19] bergamot is now away
[12:28:47] Effgen is now away
[12:29:57] mishok13 is now xa
[12:29:58] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[12:30:27] mishok13 is now online
[12:31:16] Alternativshik is now online
[12:33:17] sintetico is now online
[12:36:18] Alternativshik is now away
[12:38:17] sintetico is now online
[12:40:04] tilarids is now away
[12:41:41] cutwater is now away
[12:41:44] cutwater is now online
[12:43:14] tilarids is now online
[12:43:17] sintetico is now online
[12:46:17] Alternativshik is now xa
[12:48:02] cutwater is now away
[12:48:19] sintetico is now online
[12:49:04] tilarids is now away
[12:49:35] tilarids is now online
[12:53:16] Effgen is now away
[12:53:19] sintetico is now online
[12:53:46] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[12:54:33] MerLex is now away
[12:55:05] tilarids is now away
[12:55:12] MerLex is now online
[12:55:25] tilarids is now online
[12:55:41] Alternativshik is now offline
[12:55:55] Alternativshik is now xa
[12:56:14] pizgin is now online
[12:56:16] pizgin is now online
[12:57:43] emerald-wizard is now away
[12:58:02] cutwater is now xa
[12:58:05] emerald-wizard is now away
[12:58:20] sintetico is now online
[12:58:29] emerald-wizard is now online
[13:01:16] Alternativshik is now online
[13:01:28] pzskc383 is now online
[13:02:54] emerald-wizard is now offline
[13:03:21] sintetico is now online
[13:04:28] Effgen is now away
[13:06:16] Alternativshik is now away
[13:06:37] nmk is now away
[13:08:20] sintetico is now online
[13:10:00] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[13:11:17] zenmaks is now I'm not here right now
[13:13:01] cutwater is now online
[13:13:21] sintetico is now online
[13:16:17] Alternativshik is now xa
[13:17:57] Лис: http://www.sitepoint.com/blogs/2009/01/27/introducing-firescope-the-sitepoint-reference-tool-for-firebug/
[13:18:02] cutwater is now away
[13:18:21] sintetico is now online
[13:19:20] Live4Fun is now Я здесь.
[13:20:12] sevenov is now online
[13:21:28] Лис is now away
[13:22:03] Live4Fun: фсем привет, подскажите пожалуйста что я делаю не так при использовании модуля py2exe
1. создал всё как положено setup.py
2. файл который нужно скомпилить
3. поместил в одну папку их
4. как именно мне нужно теперь запускать setup.py???
[13:23:12] nmk is now online
[13:23:22] sintetico is now online
[13:25:35] лорд Морфий: python setup.py py2exe
[13:25:59] лорд Морфий: папка dist создастся и там будет готовый проект
[13:26:03] sevenov: Хм. Дал ссылку знакомой почитать про ООП
[13:26:05] sevenov: http://ru.wikibooks.org/wiki/Объектно-ориентированное_программирование#.D0.98.D0.BD.D0.BA.D0.B0.D0.BF.D1.81.D1.83.D0.BB.D1.8F.D1.86.D0.B8.D1.8F_.28Private_.D0.B8_Public.29
[13:26:53] sevenov: Викибукс не самый лучший источник
[13:27:07] Александp is now online
[13:27:19] pizgin is now away
[13:27:21] Live4Fun: python setup.py py2exe
'nj vs relf gbitv&
[13:27:26] Live4Fun: это мы куда пишем?
[13:27:36] лорд Морфий: Live4Fun: это не пишем, это исполняем
[13:28:02] cutwater is now xa
[13:28:22] sintetico is now online
[13:28:24] Live4Fun: поподробнее можно как именно..
[13:28:33] лорд Морфий: хм
[13:28:42] лорд Морфий: просто, в командной строке
[13:28:42] Live4Fun: по действиям
[13:28:49] лорд Морфий: можешь конечно командый файл создать
[13:28:56] лорд Морфий: там 1 действие
[13:29:44] Live4Fun: ну там же нада путь указать к этому файлу сетап.ру
[13:29:58] лорд Морфий: исполнять надо в директории где он лежит
[13:30:21] Alternativshik is now online
[13:30:41] Typhon is now online
[13:32:26] tilarids is now offline
[13:33:19] tilarids is now online
[13:33:21] sintetico is now online
[13:36:28] Лис is now xa
[13:37:19] pizgin is now online
[13:38:21] sintetico is now online
[13:39:47] Александp is now offline
[13:39:48] Александp is now online
[13:39:54] Александp is now online
[13:40:34] лорд Морфий is now away
[13:41:28] Лис is now online
[13:41:58] bergamot is now online
[13:43:19] tilarids: оффтоп: кто знает, как в генту посмотреть список последних замерженных пакетов?
[13:43:21] sintetico is now online
[13:44:05] tilarids: или второй оффтопный вопрос: никто не сталкивался с ситуацией, когда при работе с urxvt начинает дико моргать весь экран?
[13:44:38] лорд Морфий is now online
[13:46:28] Лис is now away
[13:46:53] nmk: tilarids: по первому вопросу лог посмотреть :)
[13:47:05] tilarids: nmk, лог чего?
[13:47:17] nmk: /var/log/emerge.log
[13:47:34] nmk: а еще была какая-то гуевая прикольная тулза
[13:47:38] nmk: qtшная
[13:48:22] sintetico is now online
[13:53:23] sintetico is now online
[13:54:01] tilarids: капец, короче. Работать невозможно
[13:54:38] лорд Морфий is now away
[13:55:15] tilarids: и не поймёшь, что пересобирать надо. Одно радует, что это, похоже, не монитор
[13:56:11] Effgen is now away
[13:56:28] Лис is now xa
[13:58:23] sintetico is now online
[14:00:11] Александp: кто-нибудь встречал профайлер для джанги, который выводит всю инфу по запросам к базе в консоль?
[14:00:55] nmk: Александp: ну есть django-toolbar, он в тулбар выводить. я думаю урывать оттуда кусок касательно запросов можно минут за 10
[14:01:27] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[14:01:32] MerLex is now away
[14:01:40] Александp: nmk, если нет, то придётся так и сделать
[14:03:23] sintetico is now online
[14:03:52] wiz is now ラボタユ
[14:03:53] wiz is now ラボタユ
[14:04:55] sevenov is now offline
[14:05:10] sevenov is now online
[14:05:16] sevenov is now online
[14:05:33] sevenov is now offline
[14:05:58] wiz is now ラボタユ
[14:07:19] pizgin is now away
[14:08:05] tilarids is now offline
[14:08:24] sintetico is now online
[14:09:04] tilarids is now online
[14:09:54] Александp is now offline
[14:09:55] Александp is now online
[14:10:01] Александp is now online
[14:10:48] Лис is now online
[14:10:58] wiz is now ラボタユ
[14:13:24] sintetico is now online
[14:13:42] MerLex is now online
[14:14:25] Александp is now offline
[14:14:38] лорд Морфий is now xa
[14:15:58] wiz is now ラボタユ
[14:16:17] Effgen is now away
[14:18:09] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[14:18:24] sintetico is now online
[14:20:45] pizgin is now online
[14:20:58] wiz is now ラボタユ
[14:23:25] sintetico is now online
[14:25:57] wiz is now ラボタユ
[14:27:22] nmk is now away
[14:28:26] sintetico is now online
[14:29:15] Александp is now online
[14:29:22] Александp is now online
[14:30:55] wiz is now ラボタユ
[14:30:58] nmk is now online
[14:31:02] krione is now online
[14:32:23] Effgen is now away
[14:32:26] krione is now offline
[14:32:42] Live4Fun is now offline
[14:33:26] sintetico is now online
[14:35:56] wiz is now ラボタユ
[14:37:23] bergamot is now xa
[14:38:26] sintetico is now online
[14:40:23] Effgen is now xa
[14:40:56] wiz is now ラボタユ
[14:43:26] sintetico is now online
[14:44:04] Alternativshik is now away
[14:45:39] Effgen is now Задница это универсальный интерфейс, ибо все через нее можно сделать ВСЕ!
[14:45:56] wiz is now ラボタユ
[14:46:08] лорд Морфий is now online
[14:46:36] Effgen is now offline
[14:48:28] sintetico is now online
[14:48:59] emerald-wizard is now online
[14:49:02] emerald-wizard is now online
[14:49:19] emerald-wizard is now online
[14:49:22] emerald-wizard is now offline
[14:50:56] wiz is now ラボタユ
[14:53:28] sintetico is now online
[14:54:04] Alternativshik is now xa
[14:55:55] wiz is now ラボタユ
[14:56:09] лорд Морфий is now away
[14:56:42] renyare is now away
[14:56:43] renyare is now online
[14:58:27] sintetico is now online
[14:59:10] Alternativshik is now online
[15:00:57] wiz is now ラボタユ
[15:01:12] red-agent is now online
[15:01:34] renyare is now away
[15:03:28] sintetico is now online
[15:03:32] renyare is now online
[15:04:17] Alternativshik is now away
[15:05:57] wiz is now ラボタユ
[15:08:29] sintetico is now online
[15:09:40] jedgar is now away
[15:10:58] wiz is now ラボタユ
[15:10:58] Alternativshik is now offline
[15:11:32] Александp is now offline
[15:11:59] Александp is now online
[15:12:05] Александp is now online
[15:12:20] Alternativshik is now away
[15:12:37] Joes is now Yep, I'm here.
[15:12:50] Alternativshik is now offline
[15:12:59] Joes: Ку, есть тут джангисты? :-)
[15:13:24] Alternativshik is now away
[15:13:30] sintetico is now online
[15:13:30] wiz: нет, только похаперы
[15:13:34] Alternativshik is now offline
[15:13:49] Alternativshik is now online
[15:13:52] wiz: но в душе да - все джангисты (8
[15:14:02] mishok13: я даже не знаю, что это такое
[15:15:22] Joes: Гм. Ок. Тогда вопрос. Есть модель с foreign key. Делается выборка в табличку этой модели, в табличке для форматирования берется значение из связанной модели через foreign key. Если не использовать select_related, получается по дополнительному запросу на модель.
[15:15:33] Joes: в табличку из этой модели*
[15:15:58] wiz is now ラボタユ
[15:16:07] Joes: Так вот, можно ли каким-то образом заставить его не брать _всю_ модель с помощью select_related, а только некоторые нужные мне поля через inner join?
[15:16:08] лорд Морфий is now xa
[15:16:20] Joes: или руками запрос прийдется писать?
[15:17:29] Лис: select_related('field1', 'field1')
[15:17:31] Лис: как то так
[15:17:42] Александp is now offline
[15:18:27] Alternativshik is now offline
[15:18:29] sintetico is now online
[15:19:13] Alternativshik is now online
[15:19:29] Joes: не совсем так.
[15:19:40] Joes: в доке в select_related можно передать несколько моделей
[15:19:43] Joes: которые надо включить
[15:19:49] Joes: g = Group.objects.select_related('room', 'subject')
[15:19:57] Joes: ой
[15:20:02] Joes: спасибо, это я протупил :-)
[15:20:06] Joes: да, все верно.
[15:20:29] red-agent: а как иначе?
[15:20:39] red-agent: orm же не вытащить тебе кусок модели =)
[15:20:39] jedgar is now online
[15:20:47] Joes: таки вытащит
[15:20:55] Joes: это я доку неправильно прочитал.
[15:20:56] Лис: ну...можно ещё SomeModel.objects.do_what_i_mean() вызывать
[15:20:57] wiz is now ラボタユ
[15:21:14] Joes: или нет...
[15:21:33] red-agent: не вытащит.
[15:21:35] Joes: вобщем, спасибо, пошел разбираться дальше.
[15:21:50] red-agent: нельзя через orm вытащить одно поле, не вытаскивая всю модель
[15:21:54] red-agent: это получится нонсенс
[15:22:03] Лис: ...а мне больше .do_what_i_mean() нравится :)
[15:22:21] Joes: я понимаю. посему спросил - есть ли вариант без написания sql руками?
[15:22:34] Александp is now online
[15:22:41] Александp is now online
[15:22:47] red-agent: а аргументы, которые передаются в select_related() это поля рутовой модели на которой вызывается select_related, т.е. указывает какие FK,M2M модели нужно притянуть, чтоб не тянуть все сразу.
[15:23:05] nmk: Joes: нет, а чем тебя все поля не устраивает?
[15:23:11] red-agent: Joes, я уже ответил, в контексте orm - это нонсенс.
[15:23:21] Joes: ну.. смотрите.
[15:23:30] sintetico is now online
[15:23:30] Joes: берем цепочку city, province, country
[15:23:48] Joes: есть, скажем, company.
[15:23:52] Joes: она ссылается на city
[15:24:06] Joes: в city куча разной информации, например. ну вот так надо приложению.
[15:24:13] Joes: типа количество улиц, количество жителей и т.д.
[15:24:30] Joes: надо показать табличку компаний
[15:24:52] Joes: с колонками вида: имя компании, город, провинция, страна.
[15:25:06] Joes: если не делать select_related, получается n^4 запросов
[15:25:19] Joes: если делать select_related, то будут тянуться все все данные из всей иерархии
[15:25:34] Joes: хотя там достаточно 4х полей с inner join, если писать sql
[15:25:57] wiz is now ラボタユ
[15:26:07] nmk: тебя это все сильно напрягает так? :)
[15:26:15] Joes: эээ
[15:26:22] Joes: хочется как лучше, а не как всегда :-)
[15:27:03] red-agent: когда хочется как лучше - получается как всегда.
[15:27:22] nmk: ну а вот понадобится тебе что-то в скобочках написать, в стране. что ты будешь тогда делать? а так целиковый объект всегда под рукой. и я не думаю что большая разница в произвоидтельности будет. если у тебя там не blobы конечно огромных размеров.
[15:27:38] Joes: да не, там простые поля.
[15:28:08] Joes: ладно, будем считать что это была попытка premature optimization.
[15:28:14] Joes: спасибо :-)
[15:28:32] sintetico is now online
[15:28:50] jedgar is now offline
[15:28:52] nmk: проблемы по мере поступления решай, врядли это будет узкое место твоего приложения :)
[15:30:58] wiz is now ラボタユ
[15:32:16] zenmaks is now away
[15:33:09] jedgar is now online
[15:33:11] azzz is now offline
[15:33:31] sintetico is now online
[15:34:02] azzz is now online
[15:34:02] azzz is now offline
[15:34:44] Effgen is now Я здесь.
[15:35:20] zenmaks is now I'm not here right now
[15:35:58] wiz is now ラボタユ
[15:38:31] sintetico is now online
[15:40:58] wiz is now ラボタユ
[15:43:32] sintetico is now online
[15:43:33] Alternativshik is now offline
[15:43:35] Alternativshik is now online
[15:43:43] lic is now online
[15:43:48] sintetico is now offline
[15:44:42] Alternativshik is now offline
[15:44:58] Alternativshik is now online
[15:45:58] wiz is now ラボタユ
[15:50:24] Alternativshik is now away
[15:50:59] wiz is now ラボタユ
[15:54:58] Alternativshik is now online
[15:55:58] wiz is now ラボタユ
[15:56:10] Александp is now offline
[15:57:08] Александp is now online
[15:57:14] Александp is now online
[16:00:10] gigimon is now offline
[16:00:28] nuclear90 is now online
[16:00:58] wiz is now ラボタユ
[16:03:08] Effgen is now away
[16:03:11] nmk: у /me верстальщик очень любит в input классы всякие засовывать. /me в django-html нашел замечательный тэг field, который позволяет делать что-то типа {% field myform.myfield class="class1 class2" %}, судя по описанию. я еще не пробывал, но очень элегантно :)
[16:04:59] red-agent is now away
[16:05:59] wiz is now ラボタユ
[16:09:37] sintetico is now online
[16:09:38] sintetico is now online
[16:09:48] Effgen is now Я здесь.
[16:09:53] sintetico is now online
[16:10:59] wiz is now ラボタユ
[16:14:47] red-agent is now online
[16:14:54] sintetico is now online
[16:15:30] Александp is now offline
[16:15:31] Александp is now online
[16:15:31] Александp is now online
[16:15:59] wiz is now ラボタユ
[16:16:03] lic is now away
[16:18:24] nuclear90 is now away
[16:18:30] nuclear90 is now online
[16:19:55] sintetico is now online
[16:20:01] red-agent is now away
[16:21:00] wiz is now ラボタユ
[16:21:52] wiz: оуйе
[16:22:04] wiz: py3k в 9.04 появился
[16:22:54] wiz: а 2.6 нет... wtf?
[16:23:57] Лис: бубунте?
[16:24:55] sintetico is now online
[16:26:00] wiz is now ラボタユ
[16:26:16] Alternativshik is now away
[16:28:07] mishok13: py3k есть даже в 8.10
[16:28:55] mishok13: правда, rc1 с патчами
[16:29:55] sintetico is now online
[16:30:01] red-agent is now xa
[16:30:03] Александp is now offline
[16:30:04] Александp is now online
[16:30:14] Александp is now online
[16:31:00] wiz is now ラボタユ
[16:31:07] red-agent is now online
[16:31:50] Alternativshik is now online
[16:34:55] sintetico is now online
[16:36:01] wiz is now ラボタユ
[16:36:02] lic is now xa
[16:36:54] nuclear90 is now offline
[16:39:21] Effgen is now offline
[16:39:36] Effgen is now Я здесь.
[16:39:42] Alternativshik is now offline
[16:39:55] sintetico is now online
[16:41:01] wiz is now ラボタユ
[16:41:46] vev7711 is now online
[16:41:50] Лис is now away
[16:42:18] vev7711 is now offline
[16:42:20] wiz is now offline
[16:42:21] lic is now online
[16:43:01] wiz is now ラボタユ
[16:43:02] wiz is now ラボタユ
[16:44:02] wiz is now ラボタユ
[16:44:54] Лис is now online
[16:44:55] sintetico is now online
[16:49:02] wiz is now ラボタユ
[16:49:56] sintetico is now online
[16:50:44] Александp is now offline
[16:51:53] bergamot is now online
[16:52:13] red-agent is now away
[16:52:57] Typhon is now away
[16:54:02] wiz is now ラボタユ
[16:54:06] red-agent is now online
[16:54:57] sintetico is now online
[16:55:16] Effgen is now away
[16:56:17] renyare is now offline
[16:58:39] Typhon is now online
[16:59:04] wiz is now ラボタユ
[16:59:57] sintetico is now online
[17:00:01] pizgin is now offline
[17:00:33] red-agent is now away
[17:01:24] Effgen is now Я здесь.
[17:02:05] hub is now Working hard. %)
[17:02:22] MerLex is now offline
[17:02:46] Alternativshik is now online
[17:04:05] wiz is now ラボタユ
[17:04:56] sintetico is now online
[17:05:03] tilarids is now away
[17:06:09] Effgen is now away
[17:06:51] bergamot is now xa
[17:08:13] bergamot is now online
[17:08:29] sintetico is now offline
[17:09:06] wiz is now ラボタユ
[17:10:33] red-agent is now xa
[17:13:02] red-agent is now online
[17:14:04] mishok13 is now away
[17:14:07] wiz is now ラボタユ
[17:15:03] tilarids is now xa
[17:16:33] tilarids is now online
[17:18:44] cutwater is now online
[17:19:09] wiz is now ラボタユ
[17:21:09] Effgen is now xa
[17:21:54] tilarids is now away
[17:23:17] cutwater is now offline
[17:24:04] mishok13 is now xa
[17:24:09] wiz is now ラボタユ
[17:29:10] wiz is now ラボタユ
[17:30:48] red-agent is now away
[17:31:38] red-agent is now online
[17:31:54] tilarids is now xa
[17:34:12] wiz is now ラボタユ
[17:35:12] sintetico is now online
[17:35:13] sintetico is now online
[17:36:11] Effgen is now Я здесь.
[17:38:45] sintetico is now online
[17:39:12] wiz is now ラボタユ
[17:39:26] red-agent is now away
[17:40:08] red-agent is now online
[17:40:46] bergamot is now away
[17:41:02] Александp is now online
[17:41:12] Effgen is now away
[17:43:46] sintetico is now online
[17:44:13] wiz is now ラボタユ
[17:46:29] slav0nic: мля ушёл в отпуск и увольнять на работе начали
[17:46:44] Effgen is now Я здесь.
[17:48:39] Лис: slav0nic, клёва, тебя не достанут (не выставят же тебя прямо из отпуска)
[17:48:45] sintetico is now online
[17:48:48] Лис: ...или выставят?!
[17:49:05] mishok13 is now online
[17:49:13] wiz is now ラボタユ
[17:50:15] Лис is now offline
[17:51:05] Effgen is now away
[17:51:29] slav0nic: ну чиж был в отпуске)) пришёл вчера и его уволили
[17:51:33] slav0nic: я тока за))
[17:51:36] tilarids is now online
[17:51:37] slav0nic: я дома больше заработаю ы)
[17:51:43] slav0nic: заипали понижать зп
[17:51:54] nmk: понижать??
[17:52:12] red-agent is now away
[17:52:35] slav0nic: ну премию) у народа бонусы == 80% от прибыли
[17:52:45] slav0nic: а зп может и 1500грн быть)
[17:52:48] red-agent is now online
[17:52:49] hub: Я в питоне первый день. Как правильно адресовать переменные в списке из списков (list) Типа tmp=[[1,2],[3,4]]
[17:53:21] hub: Как правильно добираться до переменных, которые в данном случае 1 и 3
[17:53:23] hub: ?
[17:53:35] Joes: tmp[0][0]?
[17:53:47] sintetico is now online
[17:53:50] nmk is now offline
[17:54:05] mishok13 is now away
[17:54:16] wiz is now ラボタユ
[17:54:17] hub: а если через цикл for item in array ?
[17:54:46] slav0nic: In [4]: [i[0] for i in tmp]
Out[4]: [1, 3]
[17:55:29] hub: думаю...
[17:56:40] hub: slav0nic, а что такое " In [4]" ?
[17:56:54] slav0nic: приглашение в ipython
[17:57:01] Alternativshik is now offline
[17:57:07] slav0nic: забей короче)
[17:57:36] tilarids is now away
[17:57:46] lic is now offline
[17:57:56] Effgen is now Я здесь.
[17:58:13] hub: Вот, например код: http://www.dumpz.org/5086/
[17:58:24] hub: Извиняюсь за его быдлокачество.
[17:58:47] sintetico is now online
[17:58:58] hub: Вот там, где "for item in finarray:"
[17:59:15] wiz is now ラボタユ
[17:59:42] slav0nic: в чём вопрос?
[17:59:54] hub: так, как я написал, неверно?
[18:00:15] slav0nic: если работает то верно))
[18:00:33] red-agent: hub, ты вобще документацию читал?
[18:00:42] red-agent: в коде места живого нету
[18:00:46] hub: насколько это возможно было
[18:01:00] slav0nic: елиф только непонятный) там елсе должно быть)
[18:01:09] hub: Ладно. понял. благодарю.
[18:01:12] hub is now offline
[18:01:48] slav0nic: http://lleo.aha.ru/dnevnik/2007/12/16.html
[18:01:53] zenmaks is now Жопа умеет настать тогда, когда ее никто не ждет....
[18:02:14] red-agent: бля. ты идиот.
[18:02:19] red-agent: =(
[18:03:03] slav0nic: ))человек впервые увидел питон, что ты от него хочешь)
[18:03:15] red-agent: я не о человека. я о тебе...
[18:03:26] slav0nic: в каком месте?
[18:03:47] sintetico is now online
[18:03:47] red-agent: в следующий раз, когда кинешь какой-то говнолинк с дебильными звуками - предупреждай
[18:04:05] mishok13 is now xa
[18:04:16] wiz is now ラボタユ
[18:04:19] slav0nic: ))
[18:04:19] Alternativshik is now online
[18:04:47] tilarids is now online
[18:07:24] gigimon is now online
[18:07:52] red-agent: gigimon, на зомбоящике есть Fox?
[18:08:28] gigimon: red-agent, нету
[18:08:48] sintetico is now online
[18:09:17] wiz is now ラボタユ
[18:12:54] red-agent is now away
[18:13:47] sintetico is now online
[18:14:17] wiz is now ラボタユ
[18:15:40] Sphinkx is now online
[18:15:47] tilarids is now away
[18:18:18] Александp: sys.path.append(os.path.abspath(os.path.dirname(__file__) + os.pardir + os.path.sep + os.pardir + os.path.sep + os.pardir + os.path.sep + os.pardir))
подскажите, как такое безобразие можно укоротить?
[18:18:21] Sphinkx is now offline
[18:18:25] Sphinkx is now online
[18:18:48] sintetico is now online
[18:19:19] wiz is now ラボタユ
[18:21:06] red-agent is now online
[18:22:23] Alternativshik is now offline
[18:23:39] bergamot is now online
[18:23:47] sintetico is now online
[18:24:19] wiz is now ラボタユ
[18:24:24] Joes: os.path.join?
[18:24:41] Joes: os.path.join('a', 'b', 'c', 'd')
[18:25:13] Joes: ой
[18:25:16] Joes: не то.
[18:25:48] tilarids is now xa
[18:27:03] Joes: os.path.abspath(os.path.join(os.path.fidrname(__file__), os.pardir, os.pardir, os.pardir, os.pardir)
[18:27:04] Joes: не?
[18:28:26] Joes: точнее: os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, os.pardir))
[18:28:42] Alternativshik is now online
[18:28:48] sintetico is now online
[18:29:20] wiz is now ラボタユ
[18:30:14] Александp: хм, os.path.dirname(__file__) можно наверное выкинуть
[18:32:34] red-agent is now away
[18:33:47] sintetico is now online
[18:34:21] wiz is now ラボタユ
[18:34:34] red-agent is now online
[18:34:50] Effgen is now away
[18:35:06] Typhon is now offline
[18:35:10] Typhon is now online
[18:37:31] piranha is now online
[18:38:07] Sphinkx is now offline
[18:38:12] Sphinkx is now online
[18:38:47] sintetico is now online
[18:39:22] wiz is now ラボタユ
[18:42:06] Sphinkx is now offline
[18:43:09] Sphinkx is now online
[18:43:36] Typhon is now offline
[18:43:48] sintetico is now online
[18:44:23] wiz is now ラボタユ
[18:44:34] red-agent is now away
[18:47:15] red-agent is now online
[18:47:31] Effgen is now Я здесь.
[18:48:47] sintetico is now online
[18:49:06] mishok13 is now online
[18:49:23] wiz is now ラボタユ
[18:50:32] Sphinkx is now offline
[18:50:34] Effgen is now away
[18:50:39] azzz is now online
[18:50:40] tilarids is now online
[18:51:48] slav0nic is now offline
[18:52:22] wiz is now xa
[18:52:23] wiz is now xa
[18:52:50] red-agent is now away
[18:52:51] slav0nic is now xa
[18:53:49] sintetico is now online
[18:54:06] mishok13 is now away
[18:54:24] wiz is now xa
[18:55:41] tilarids is now away
[18:58:44] Effgen is now Я здесь.
[18:58:55] sintetico is now online
[18:59:25] wiz is now xa
[19:00:01] Sphinkx is now online
[19:02:51] red-agent is now xa
[19:03:14] Sphinkx is now offline
[19:03:18] Sphinkx is now online
[19:03:54] bergamot is now dnd
[19:03:54] sintetico is now online
[19:04:07] mishok13 is now xa
[19:04:25] wiz is now xa
[19:04:30] Sphinkx is now offline
[19:04:37] Sphinkx is now online
[19:05:41] tilarids is now xa
[19:06:02] bergamot is now offline
[19:06:16] bergamot is now online
[19:08:59] sintetico is now online
[19:09:27] wiz is now xa
[19:10:53] red-agent is now online
[19:14:04] sintetico is now online
[19:14:28] wiz is now xa
[19:15:53] red-agent is now away
[19:16:23] red-agent is now online
[19:17:56] slav0nic is now offline
[19:19:08] sintetico is now online
[19:19:29] wiz is now xa
[19:19:47] Alternativshik is now offline
[19:20:55] slav0nic is now online
[19:21:21] red-agent is now away
[19:23:00] Sphinkx is now offline
[19:23:05] Sphinkx is now online
[19:24:11] sintetico is now online
[19:24:13] slav0nic is now offline
[19:24:28] slav0nic is now online
[19:24:29] wiz is now xa
[19:26:29] Sphinkx is now offline
[19:26:34] Sphinkx is now online
[19:26:45] slav0nic is now away
[19:27:22] tilarids is now online
[19:27:32] MAVr is now offline
[19:28:27] Sphinkx is now offline
[19:28:33] Sphinkx is now online
[19:29:14] sintetico is now online
[19:29:30] wiz is now xa
[19:31:21] red-agent is now xa
[19:31:48] Sphinkx is now offline
[19:32:08] slav0nic is now online
[19:32:14] Sphinkx is now online
[19:32:18] Effgen is now offline
[19:34:17] sintetico is now online
[19:34:31] wiz is now xa
[19:34:50] MAVr is now Да, я тут
[19:34:51] MAVr is now Да, я тут
[19:35:06] MAVr is now Да, я тут
[19:35:12] piranha is now offline
[19:35:45] Alternativshik is now online
[19:36:23] tilarids is now away
[19:38:20] slav0nic is now away
[19:39:21] sintetico is now online
[19:39:26] Effgen is now Я здесь.
[19:39:32] wiz is now xa
[19:40:03] tilarids is now online
[19:41:43] nuclear90 is now online
[19:42:25] mikilange is now online
[19:42:39] red-agent is now online
[19:44:16] PC_ is now offline
[19:44:24] sintetico is now online
[19:44:32] wiz is now xa
[19:45:05] tilarids is now away
[19:47:34] Casufi is now online
[19:47:35] Casufi is now online
[19:48:21] slav0nic is now xa
[19:49:02] Casufi: Подскажите, есть ли бесплатные редакторы с RemoteDebug для Python. Может можно как то к виму прикрутить Remote Debug или к Eric ?
[19:49:28] sintetico is now online
[19:49:33] wiz is now xa
[19:50:50] mikilange is now offline
[19:50:53] Casufi is now online
[19:51:05] sintetico is now offline
[19:52:48] Sphinkx is now offline
[19:54:31] red-agent is now away
[19:54:34] wiz is now xa
[19:55:01] Лис is now online
[19:55:04] tilarids is now xa
[19:55:54] Casufi is now online
[19:57:27] Sphinkx is now online
[19:58:47] Casufi: Похоже в Ерик есть remotedebug, вот только непонятно как его запустить
[19:58:55] Effgen is now away
[19:59:35] wiz is now xa
[20:00:34] red-agent is now online
[20:00:56] Casufi is now online
[20:01:25] nuclear90 is now away
[20:01:32] Casufi is now offline
[20:02:20] Sphinkx is now away
[20:03:02] Sphinkx is now online
[20:03:18] slav0nic is now online
[20:04:20] Casufi is now online
[20:04:20] Casufi is now online
[20:04:35] wiz is now xa
[20:04:50] Casufi is now online
[20:04:51] Casufi is now online
[20:05:07] nuclear90 is now online
[20:05:07] Typhon is now online
[20:05:35] red-agent is now away
[20:06:00] nuclear90 is now offline
[20:06:04] azzz is now offline
[20:06:12] Effgen is now Я здесь.
[20:06:18] Casufi is now online
[20:07:54] azzz is now online
[20:08:20] slav0nic is now away
[20:09:36] wiz is now xa
[20:11:21] Casufi is now online
[20:11:59] Alternativshik is now offline
[20:12:16] MAVr is now away
[20:12:19] MAVr is now away
[20:14:16] MAVr is now xa
[20:14:18] MAVr is now xa
[20:14:36] wiz is now xa
[20:15:01] MAVr is now Да, я тут
[20:15:35] red-agent is now xa
[20:16:23] Casufi is now online
[20:16:33] sintetico is now online
[20:16:34] sintetico is now online
[20:16:45] MAVr is now offline
[20:18:20] slav0nic is now xa
[20:19:38] wiz is now xa
[20:19:58] sintetico is now online
[20:19:59] Alternativshik is now online
[20:20:06] tilarids is now online
[20:20:41] red-agent is now online
[20:21:25] Casufi is now online
[20:22:24] sintetico is now offline
[20:24:40] wiz is now xa
[20:25:06] tilarids is now away
[20:25:23] Alternativshik is now offline
[20:26:26] Casufi is now online
[20:26:49] Лис: коммит мессадж "first commit to github. Goodbye foul SVN demon!"
[20:26:51] Лис: :))
[20:26:56] slav0nic is now online
[20:27:27] Typhon is now away
[20:29:40] wiz is now xa
[20:31:38] Casufi is now online
[20:31:57] red-agent is now away
[20:32:37] slav0nic is now away
[20:34:41] wiz is now xa
[20:35:07] tilarids is now xa
[20:35:24] red-agent is now online
[20:36:40] Casufi is now online
[20:37:02] bergamot is now offline
[20:37:27] Typhon is now xa
[20:37:49] gigimon: народ
[20:38:09] gigimon: подскажите где почитать как запустить веб интерфейс mercurial?
[20:39:18] Лис: gigimon, mod_wsgi
[20:39:23] Лис: самый простой вариант
[20:39:34] Casufi is now away
[20:39:35] Casufi is now away
[20:39:37] gigimon: ага
[20:39:42] gigimon: спс
[20:39:42] wiz is now xa
[20:39:43] gigimon: погуглю
[20:39:54] jedgar is now away
[20:39:57] gigimon: Лис, через http смогу добавлять коммиты?
[20:40:02] Лис: да
[20:40:06] Лис: запросто
[20:40:32] gigimon: окей
[20:41:26] Лис: gigimon,
$ cat hg.wsgi
from mercurial.hgweb.hgwebdir_mod import hgwebdir
from mercurial.hgweb.request import wsgiapplication
def make_web_app():
return hgwebdir("/path/to/hg/hgwebdir.config")
application = wsgiapplication(make_web_app)
[20:41:44] Casufi is now away
[20:41:56] gigimon: Лис, спс, я ман нашел на сайте)
[20:41:56] Joes is now offline
[20:41:56] slav0nic is now xa
[20:43:57] wiz is now xa
[20:44:01] tilarids is now online
[20:45:09] Casufi is now offline
[20:47:29] Casufi is now away
[20:47:30] Casufi is now away
[20:48:18] jedgar is now online
[20:48:57] wiz is now xa
[20:50:37] slav0nic is now online
[20:51:29] slav0nic: долбаный brasero залочил двдром, + дропнул файлы с фс пипец%)
[20:51:40] Casufi is now away
[20:52:05] red-agent is now away
[20:52:19] red-agent is now online
[20:52:34] Casufi is now offline
[20:53:57] wiz is now xa
[20:55:16] Casufi is now away
[20:55:16] Casufi is now away
[20:57:28] Casufi is now away
[20:58:12] Casufi is now online
[20:58:13] Casufi is now online
[20:58:57] wiz is now xa
[21:02:26] Typhon is now online
[21:02:29] Casufi is now online
[21:03:57] wiz is now xa
[21:04:24] dares is now online
[21:07:14] red-agent is now away
[21:07:39] tilarids is now away
[21:08:07] Typhon is now away
[21:08:18] Casufi is now online
[21:09:14] slav0nic is now away
[21:09:21] dares: ребят подскажите, когда достаю так entry = Post.objects.filter(posted__year=year, posted__month=month, posted__day=day, caption=caption)[0], месяц 01, а когда в моделях в get_absolute_url - self.posted.month = месяц 1, как исправить сие?
[21:09:33] Effgen is now away
[21:09:44] wiz is now xa
[21:10:59] PC is now online
[21:13:19] Casufi is now online
[21:13:29] tilarids is now online
[21:13:37] Лис: нипаняяятна
[21:14:05] dares: ок, на dumpz сейчас кину)
[21:14:40] Casufi is now offline
[21:14:45] wiz is now xa
[21:16:10] Effgen is now Я здесь.
[21:17:12] dares: http://dumpz.org/5092/ вот
я не пойму почему во views возращается месяц - 01, а в get_absolute_url - 1 и как это исправить
[21:17:14] red-agent is now xa
[21:17:26] Effgen is now offline
[21:17:52] Лис: во view это из url-а попадает
[21:18:07] Typhon is now xa
[21:18:15] Лис: а в get_abs_url ты формат пропиши как надо
[21:18:20] Лис: и будет Щастье
[21:18:29] PC is now away
[21:18:30] tilarids is now away
[21:19:14] slav0nic is now xa
[21:19:46] wiz is now xa
[21:19:50] Лис: формат даты, если шо
[21:20:07] Лис: хотя можно и строки :D
[21:20:07] dares: ок, спасибо
[21:20:15] Лис: In [2]: '%02d' % 1
Out[2]: '01'
[21:20:29] Alternativshik is now online
[21:20:52] Лис:
In [8]: n = datetime.datetime.now()
In [9]: n.strftime('%d')
Out[9]: '27'
[21:21:19] Лис: %d будет выдавать 0 впереди если число от 1-го до 9-го
[21:21:35] azzz is now offline
[21:21:49] PC is now online
[21:23:15] Лис: dares, итого,твой get_abs_url преобразуется в
return "/archive/%s/%s" % (self.posted.strftime('%Y/%m/%d'), self.caption)
[21:23:28] Лис: уопа \m/
[21:23:43] Лис: P.S. иметь захардкоденый /archive/ не есть гуд
[21:24:01] Лис: надо реверсить
[21:24:11] Лис: ты таки почитай про реверс то %)
[21:24:36] azzz is now online
[21:24:48] wiz is now xa
[21:25:32] Sphinkx is now offline
[21:25:35] Sphinkx is now online
[21:25:51] dares: а что такое реверс? если не трудно кинь ссылку, почитаю
[21:25:59] Sphinkx is now offline
[21:26:18] Sphinkx is now online
[21:26:24] Лис: http://docs.djangoproject.com/en/dev/topics/http/urls/#utility-methods
[21:26:32] Sphinkx is now offline
[21:27:13] Лис: тебе оба (reverse, permalink) надо будет использовать
[21:27:53] Лис: и named-url это тоже хорошая мысль
[21:28:04] Sphinkx is now online
[21:28:29] Лис: http://docs.djangoproject.com/en/dev/topics/http/urls/#id2
[21:28:31] tilarids is now xa
[21:29:50] wiz is now xa
[21:30:09] Typhon is now online
[21:30:16] dares: спасибо за ссылки, будем изучать, когда с английским не очень, трудно находить нужную информацию в документации
[21:31:47] Sphinkx is now offline
[21:31:52] Sphinkx is now online
[21:31:54] Sphinkx is now offline
[21:32:14] Sphinkx is now online
[21:32:46] Sphinkx is now offline
[21:33:02] Sphinkx is now online
[21:34:13] slav0nic is now online
[21:34:40] cutwater is now online
[21:34:51] wiz is now xa
[21:35:43] dares is now away
[21:38:38] Александp is now away
[21:39:08] Александp is now online
[21:39:14] slav0nic is now away
[21:39:45] lizzard is now online
[21:39:52] wiz is now xa
[21:43:26] Effgen is now Я здесь.
[21:43:32] tilarids is now online
[21:44:52] wiz is now xa
[21:46:43] sevenov is now online
[21:46:59] jedgar is now offline
[21:47:00] jedgar is now online
[21:47:10] sevenov is now offline
[21:47:47] lizzard is now away
[21:48:32] tilarids is now away
[21:49:14] slav0nic is now xa
[21:49:54] wiz is now xa
[21:49:54] lizzard is now online
[21:50:10] dares is now online
[21:51:27] Лис is now away
[21:52:20] Лис is now online
[21:54:54] wiz is now xa
[21:58:05] gigimon: Лис, подскажи пожалуйста, как разрешить кому-то удаленную работу с репозитарием меркуриала? 1 юзеру
[21:58:22] gigimon: а то опции hgrc вторйо раз пролистал
[21:58:30] gigimon: не нашел
[21:58:33] tilarids is now xa
[21:59:09] dares is now away
[21:59:51] gigimon: сервер поднят с помощью mod_wsgi
[21:59:53] wiz is now xa
[22:00:28] Лис:
$ cat .hg/hgrc
[web]
push_ssl = false
allow_push = username
name = name here
description = desription here
contact = Your Cool Name
style = gitweb
allow_archive = gz zip
[22:00:48] Лис: в каждому репозитории понятное дело свой hgrc
[22:01:47] red-agent is now online
[22:02:18] gigimon: а удаленно создавать их нелья?
[22:02:23] gigimon: спс
[22:03:15] azzz is now offline
[22:03:20] azzz is now online
[22:04:54] wiz is now xa
[22:05:01] azzz is now offline
[22:05:38] azzz is now online
[22:06:51] red-agent is now away
[22:07:10] Alternativshik is now offline
[22:09:54] wiz is now xa
[22:12:00] Alternativshik is now online
[22:12:09] dares is now online
[22:12:18] gigimon: Лис, а там где указано DocumentRoot в апатче, в той папке создавать репозитарии hg init name ?
[22:12:23] gigimon: и они появятся в вебухе?
[22:12:31] gigimon: а то чет так сделал,нету
[22:12:52] Лис: не
[22:12:58] gigimon: а как?
[22:13:05] Лис: ща
[22:13:06] Лис: сек
[22:13:45] jedgar is now away
[22:14:31] Лис: http://dumpz.org/5093/
[22:14:55] wiz is now xa
[22:16:07] gigimon: cgc
[22:16:09] gigimon: спс
[22:16:50] red-agent is now xa
[22:17:14] jedgar is now online
[22:18:20] gigimon: 'v
[22:18:21] gigimon: эм
[22:19:54] wiz is now xa
[22:19:58] gigimon: ну у тебя как демон запускается?
[22:20:13] Лис: да
[22:20:24] Лис: и шо?
[22:22:19] gigimon: http://dumpz.org/5095/
[22:22:22] gigimon: вот у меня так
[22:22:49] gigimon: в /var/www/htdocs делал hg init test
[22:23:05] gigimon: но он в вебе не появился
[22:24:55] wiz is now xa
[22:25:21] Лис: права должны быть как у wsgi
[22:25:26] Лис: owner
[22:26:27] cutwater is now offline
[22:26:38] gigimon: понял
[22:26:39] gigimon: ща попробую
[22:27:20] dares is now away
[22:28:44] dlx89 is now Да, я здесь.
[22:29:26] gigimon: wsgi запускается от апача,поставил права апатча и ничего
[22:29:56] wiz is now xa
[22:30:03] Effgen is now away
[22:31:58] Effgen is now Я здесь.
[22:33:40] lizzard is now offline
[22:34:57] wiz is now xa
[22:38:56] slav0nic is now online
[22:39:16] slav0nic is now offline
[22:39:45] slav0nic is now online
[22:39:57] wiz is now xa
[22:44:11] lizzard is now online
[22:44:47] lizzard is now offline
[22:44:57] wiz is now xa
[22:46:02] dares is now online
[22:46:21] Лис is now offline
[22:49:58] wiz is now xa
[22:53:57] Alternativshik is now offline
[22:54:49] piranha is now online
[22:54:59] wiz is now xa
[23:00:00] wiz is now xa
[23:01:02] Effgen is now offline
[23:01:37] Effgen is now Я здесь.
[23:05:01] wiz is now xa
[23:05:22] slav0nic is now xa
[23:08:03] dares is now away
[23:10:02] wiz is now xa
[23:11:35] gigimon is now offline
[23:11:57] gigimon is now online
[23:15:03] wiz is now xa
[23:15:25] Лис is now online
[23:16:45] dares is now online
[23:19:25] PC is now away
[23:20:02] wiz is now xa
[23:23:15] Александp is now away
[23:23:22] Александp is now online
[23:25:05] wiz is now xa
[23:27:20] a1fred is now online
[23:28:57] a1fred is now online
[23:29:24] PC is now xa
[23:30:03] wiz is now xa
[23:31:57] Александp is now offline
[23:32:09] tilarids is now online
[23:33:34] dares is now away
[23:33:35] dares is now offline
[23:33:35] dares is now away
[23:34:22] PC is now online
[23:35:04] wiz is now xa
[23:36:11] a1fred is now online
[23:38:05] Effgen is now offline
[23:38:10] Sphinkx is now away
[23:38:55] Лис is now away
[23:39:24] PC is now away
[23:39:24] Sphinkx is now online
[23:40:04] wiz is now xa
[23:45:06] wiz is now xa
[23:46:58] Александp is now online
[23:47:03] Александp is now online
[23:47:40] dlx89 is now offline
[23:48:54] Лис is now xa
[23:49:24] PC is now xa
[23:50:05] wiz is now xa
[23:50:48] tilarids is now offline
[23:52:41] a1fred is now online
[23:53:52] a1fred is now online
[23:53:54] Лис is now online
[23:55:06] wiz is now xa
[23:56:08] dares is now offline
[23:57:32] a1fred is now away
[23:57:33] a1fred is now offline
[23:58:55] Лис is now away