[13:12:43] xa4a is now online
[13:12:43] _lorien is now xa
[13:12:43] wiz_ is now xa
[13:12:43] Portnov is now online
[13:12:43] kryklia is now away
[13:12:43] cutwater is now едреная консоль делает меня сильней
[13:12:43] wiz is now away
[13:12:43] magic_pony is now online
[13:12:43] : _lorien установил(а) тему: Python.SU | Сначала поищи ответ на docs.python.org | Теперь поищи на google.com | За голосом - в приват к модераторам | Код постить в dumpz.org | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://➡.ws/pu | Хочешь задать вопрос - просто *задай* его! | Третий тупой вопрос за сутки — на http://throwcatch.me | Ещё рано использовать py3k
[13:14:25] kryklia is now away
[13:14:39] e4key.inbox is now Yep, I'm here.
[13:14:48] erraen is now online
[13:14:52] PC is now online
[13:14:54] Portnov is now away
[13:19:24] kryklia is now away
[13:19:30] Portnov is now online
[13:19:38] e4key.inbox is now Yep, I'm here.
[13:19:48] erraen is now online
[13:20:08] Ляпатяпа is now online
[13:21:50] kryklia is now online
[13:21:51] kryklia is now online
[13:22:51] Муркт is now away
[13:22:54] Portnov is now away
[13:23:36] Portnov is now online
[13:24:00] red-agent is now away
[13:24:24] kryklia is now online
[13:24:39] e4key.inbox is now Yep, I'm here.
[13:24:48] erraen is now online
[13:25:34] PC is now away
[13:26:00] Typhon is now offline
[13:27:08] poltergeist is now online
[13:27:36] Typhon is now online
[13:27:49] Typhon is now online
[13:28:22] kryklia is now away
[13:28:23] kryklia is now away
[13:29:24] kryklia is now away
[13:29:39] e4key.inbox is now Yep, I'm here.
[13:29:48] erraen is now online
[13:31:54] red-agent is now online
[13:33:22] PC is now online
[13:33:44] kryklia is now online
[13:33:45] kryklia is now online
[13:33:50] Portnov is now away
[13:33:54] cutwater is now away
[13:34:24] kryklia is now online
[13:34:30] cutwater is now едреная консоль делает меня сильней
[13:34:40] e4key.inbox is now Yep, I'm here.
[13:34:49] erraen is now online
[13:35:02] pymonk is now offline
[13:35:07] Ляпатяпа is now xa
[13:35:17] Portnov is now online
[13:35:38] Lolka is now offline
[13:37:42] Муркт: while i > 1<<31: i-=1<<31
[13:39:24] kryklia is now online
[13:39:25] mishok13: охблять
[13:39:40] e4key.inbox is now Yep, I'm here.
[13:39:41] nmk: быстрый способ такой
[13:39:47] Portnov is now away
[13:39:48] mishok13: оооочень
[13:39:48] erraen is now online
[13:40:01] mishok13: предлагаю еще и в лямбду вызов завернуть
[13:40:12] Муркт: :D
[13:40:22] red-agent is now away
[13:40:24] red-agent is now online
[13:40:32] Portnov is now online
[13:42:46] bobry is now offline
[13:42:57] Effgen is now online
[13:43:08] bobry is now online
[13:43:23] kryklia is now away
[13:43:24] kryklia is now away
[13:43:40] bobry is now offline
[13:43:57] bobry is now online
[13:44:24] kryklia is now away
[13:44:41] e4key.inbox is now Yep, I'm here.
[13:44:49] erraen is now online
[13:48:27] Effgen is now away
[13:49:24] kryklia is now away
[13:49:41] e4key.inbox is now Yep, I'm here.
[13:49:49] erraen is now online
[13:49:58] kryklia is now online
[13:49:59] kryklia is now online
[13:51:18] mishok13 is now away
[13:52:01] bobry is now xa
[13:52:09] Effgen is now online
[13:54:24] kryklia is now online
[13:54:41] e4key.inbox is now Yep, I'm here.
[13:54:50] erraen is now online
[13:55:23] kryklia is now away
[13:55:24] kryklia is now away
[13:59:08] PC is now away
[13:59:24] kryklia is now away
[13:59:41] e4key.inbox is now Yep, I'm here.
[14:10:06] erraen is now online
[14:10:06] PC is now online
[14:10:06] lievil is now away
[14:10:08] mishok13 is now xa
[14:10:08] kryklia is now away
[14:10:08] e4key.inbox is now Yep, I'm here.
[14:10:08] erraen is now online
[14:10:09] лорд Морфий is now online
[14:10:09] kryklia is now online
[14:10:09] kryklia is now online
[14:10:09] _lorien is now offline
[14:10:09] mishok13 is now online
[14:10:09] wiz_ is now online
[14:10:09] _lorien is now online
[14:10:15] _lorien is now xa
[14:10:15] kryklia is now online
[14:10:15] _lorien is now offline
[14:10:15] e4key.inbox is now Yep, I'm here.
[14:10:15] erraen is now online
[14:10:23] lievil is now xa
[14:11:26] _lorien is now xa
[14:11:34] _lorien is now offline
[14:13:02] mishok13 is now away
[14:13:13] _lorien is now xa
[14:13:17] lievil is now online
[14:13:38] _lorien is now offline
[14:14:25] kryklia is now online
[14:15:04] Effgen is now offline
[14:15:04] e4key.inbox is now Yep, I'm here.
[14:15:05] mishok13 is now online
[14:15:05] erraen is now online
[14:15:05] _lorien is now xa
[14:19:07] pymonk is now online
[14:19:07] _lorien is now xa
[14:19:07] _lorien is now offline
[14:19:07] _lorien is now offline
[14:19:07] e4key.inbox is now xa
[14:19:07] e4key.inbox is now xa
[14:19:07] e4key.inbox is now Yep, I'm here.
[14:19:07] e4key.inbox is now xa
[14:19:07] _lorien is now xa
[14:19:24] kryklia is now online
[14:19:27] _lorien is now offline
[14:19:42] e4key.inbox is now Yep, I'm here.
[14:19:42] e4key.inbox is now xa
[14:19:51] erraen is now online
[14:20:36] cutwater is now away
[14:20:58] _lorien is now xa
[14:21:20] _lorien is now offline
[14:21:30] kryklia is now away
[14:21:31] kryklia is now away
[14:22:22] red-agent is now away
[14:22:23] лорд Морфий is now xa
[14:22:37] _lorien is now xa
[14:23:03] _lorien is now offline
[14:23:45] Мозгошредер is now offline
[14:24:13] unk2k is now online
[14:24:25] kryklia is now away
[14:24:28] _lorien is now xa
[14:24:29] _lorien is now offline
[14:24:42] e4key.inbox is now Yep, I'm here.
[14:24:43] e4key.inbox is now xa
[14:24:51] erraen is now online
[14:26:24] _lorien is now Not available as a result of being idle
[14:26:25] _lorien is now xa
[14:26:47] _lorien is now offline
[14:27:24] unk2k: Всем привет! у меня опять вопрос ;)
Длеаю я так
CompanyFinanceSet = modelformset_factory(Company_Finance, extra=4, max_num=4)
if ... post:
formset = CompanyFinanceSet(request.POST)
formset.is_valid()....
как мне сделать проверку def clean?
я делаю def clean(self) в модели Company_Finance, но оно не отрабатывает при сохранении for form in formset; form.save()
в чем может быть проблема ?
[14:28:15] _lorien is now xa
[14:28:38] Typhon is now offline
[14:28:38] red-agent is now online
[14:28:41] _lorien is now offline
[14:28:56] nmk: form.is_valid ?
[14:29:22] Typhon is now online
[14:29:24] kryklia is now away
[14:29:31] Typhon is now online
[14:29:43] e4key.inbox is now Yep, I'm here.
[14:29:44] e4key.inbox is now xa
[14:29:52] erraen is now online
[14:30:01] _lorien is now xa
[14:30:02] _lorien is now offline
[14:30:23] unk2k: nmk, дело в том что я данную форму я ввожу данные такова формата XXX XXX XXX,XX а поля в модели Company_Finance у меня models.DecimalField() и они принимают XXXXXXXXX.XX, т.е. я должен перед проверкой убрать все проблемы и заменить запятые точками.
[14:30:36] cutwater is now xa
[14:30:42] unk2k: метод clean позволил бы мне это сделать.
[14:31:06] cutwater is now едреная консоль делает меня сильней
[14:31:13] nmk: сделай свои филды
[14:31:24] Portnov is now away
[14:31:40] _lorien is now Not available as a result of being idle
[14:31:41] _lorien is now xa
[14:32:14] _lorien is now offline
[14:32:21] unk2k: хмм.. а я смогу в таком случае делать проверку ?
[14:32:32] unk2k: дай пожалуйста сампл
[14:33:24] Portnov is now online
[14:33:39] nmk: я видно тебя не очень понимаю. сампл своего филда? ну, возьми какой-нить forms.TimeField
[14:33:42] red-agent is now away
[14:33:48] _lorien is now xa
[14:34:11] xa4a: unk2k: возмь какую-нибудь доку по джанго-формам
[14:34:11] _lorien is now offline
[14:34:24] kryklia is now away
[14:34:43] e4key.inbox is now Yep, I'm here.
[14:34:44] e4key.inbox is now xa
[14:34:53] erraen is now online
[14:34:54] red-agent is now online
[14:35:50] _lorien is now xa
[14:35:51] _lorien is now offline
[14:37:03] Ляпатяпа is now online
[14:37:13] unk2k: xa4a, взял
[14:37:15] unk2k: xa4a, дальше
[14:37:26] _lorien is now xa
[14:37:29] xa4a: дальше читай
[14:37:37] unk2k: xa4a, прочел, дальше
[14:37:43] xa4a: дальше ещё раз читай
[14:37:48] xa4a: на этот раз вдумчиво
[14:37:50] _lorien is now offline
[14:37:51] unk2k: xa4a, я прочел уже много раз
[14:38:07] nmk: бляяяя
[14:38:07] xa4a: ок.
[14:38:13] xa4a: что происходит при form.save() ?
[14:38:27] unk2k: =) хороший вопрос
[14:38:31] delpass is now xa
[14:38:54] unk2k: незнаю
[14:39:06] Portnov is now away
[14:39:07] unk2k: (знаю что идет сохранение в БД)
[14:39:07] _lorien is now xa
[14:39:25] kryklia is now away
[14:39:29] nmk: чочо
[14:39:33] _lorien is now offline
[14:39:43] e4key.inbox is now Yep, I'm here.
[14:39:44] e4key.inbox is now xa
[14:39:53] nmk: а. modelform
[14:39:54] erraen is now online
[14:40:22] nmk: unk2k: так ты доку на modelform читал или на forms просто?
[14:40:45] Portnov is now online
[14:41:05] _lorien is now xa
[14:41:16] unk2k: nmk, я доку всю прочел
[14:41:29] _lorien is now offline
[14:43:09] _lorien is now xa
[14:43:15] cutwater is now away
[14:43:19] pymonk is now offline
[14:43:34] _lorien is now offline
[14:44:11] Ferroman is now online
[14:44:25] kryklia is now away
[14:44:32] Ferroman is now offline
[14:44:43] e4key.inbox is now Yep, I'm here.
[14:44:44] e4key.inbox is now xa
[14:44:51] Муркт is now online
[14:44:54] erraen is now online
[14:44:59] PC is now away
[14:45:03] PC is now online
[14:45:05] _lorien is now xa
[14:45:18] red-agent is now away
[14:45:31] _lorien is now offline
[14:46:28] red-agent is now online
[14:46:50] e4key.inbox is now xa
[14:46:51] e4key.inbox is now Yep, I'm here.
[14:46:52] _lorien is now xa
[14:47:12] cutwater is now едреная консоль делает меня сильней
[14:47:20] _lorien is now offline
[14:49:04] _lorien is now xa
[14:49:25] kryklia is now away
[14:49:31] _lorien is now offline
[14:49:43] e4key.inbox is now Yep, I'm here.
[14:49:44] e4key.inbox is now xa
[14:49:54] erraen is now online
[14:50:18] kryklia is now online
[14:50:19] kryklia is now online
[14:50:59] _lorien is now xa
[14:51:27] _lorien is now offline
[14:53:06] Portnov is now away
[14:53:07] _lorien is now xa
[14:53:30] _lorien is now offline
[14:54:25] kryklia is now online
[14:54:30] Portnov is now online
[14:54:43] e4key.inbox is now Yep, I'm here.
[14:54:44] e4key.inbox is now xa
[14:54:45] _lorien is now xa
[14:54:46] _lorien is now offline
[14:54:55] erraen is now online
[14:55:35] kryklia is now away
[14:55:36] kryklia is now away
[14:55:38] poltergeist is now away
[14:55:42] cutwater is now away
[14:56:32] _lorien is now xa
[14:56:56] _lorien is now offline
[14:58:52] cutwater is now едреная консоль делает меня сильней
[14:59:25] kryklia is now away
[14:59:38] poltergeist is now online
[14:59:44] e4key.inbox is now xa
[14:59:45] e4key.inbox is now Yep, I'm here.
[14:59:56] erraen is now online
[15:01:29] Александp is now away
[15:03:47] MAVr is now away
[15:04:26] kryklia is now away
[15:04:27] MAVr is now Да, я тут
[15:04:45] e4key.inbox is now Yep, I'm here.
[15:04:45] e4key.inbox is now xa
[15:04:56] erraen is now online
[15:06:15] kryklia is now online
[15:06:16] kryklia is now online
[15:07:11] Portnov is now away
[15:08:11] Portnov is now online
[15:09:14] Ferroman is now online
[15:09:22] Ferroman is now offline
[15:09:27] kryklia is now online
[15:09:45] e4key.inbox is now Yep, I'm here.
[15:09:46] e4key.inbox is now xa
[15:09:57] erraen is now online
[15:11:10] Effgen is now Я здесь.
[15:11:29] Александp is now xa
[15:14:26] kryklia is now online
[15:14:28] kryklia is now away
[15:14:29] kryklia is now away
[15:14:46] e4key.inbox is now Yep, I'm here.
[15:14:46] e4key.inbox is now xa
[15:14:57] erraen is now online
[15:15:44] Portnov is now away
[15:15:47] jedgar is now online
[15:15:49] jedgar is now online
[15:15:50] Portnov is now online
[15:19:26] kryklia is now away
[15:19:46] e4key.inbox is now Yep, I'm here.
[15:19:47] e4key.inbox is now xa
[15:19:58] erraen is now online
[15:24:27] kryklia is now away
[15:24:35] Effgen is now away
[15:24:45] e4key.inbox is now Yep, I'm here.
[15:24:47] e4key.inbox is now xa
[15:24:58] erraen is now online
[15:25:08] feedbot is now online
[15:25:10] feedbot: PyPy Status Blog: Gothenburg JIT sprint report http://www.reddit.com/r/Python/comments/9dxkq/pypy_status_blog_gothenburg_jit_sprint_report/
[15:25:13] feedbot is now offline
[15:25:27] kryklia is now online
[15:25:28] kryklia is now online
[15:26:07] poltergeist is now away
[15:27:29] Александp is now online
[15:27:32] red-agent is now away
[15:27:34] red-agent is now online
[15:29:26] kryklia is now online
[15:29:46] e4key.inbox is now Yep, I'm here.
[15:29:47] e4key.inbox is now xa
[15:29:58] erraen is now online
[15:29:58] red-agent is now offline
[15:30:19] red-agent is now online
[15:30:23] red-agent is now offline
[15:30:33] red-agent is now online
[15:31:04] kryklia is now away
[15:31:05] kryklia is now away
[15:32:16] red-agent is now offline
[15:32:18] red-agent is now online
[15:32:20] Portnov is now away
[15:32:24] red-agent is now offline
[15:32:38] red-agent is now online
[15:32:38] Portnov is now online
[15:34:07] poltergeist is now xa
[15:34:26] kryklia is now away
[15:34:46] e4key.inbox is now Yep, I'm here.
[15:34:47] e4key.inbox is now xa
[15:34:59] erraen is now online
[15:36:16] delpass is now offline
[15:36:29] delpass is now xa
[15:37:14] Portnov is now away
[15:37:21] Александp is now away
[15:38:18] red-agent is now away
[15:38:44] Portnov is now online
[15:39:26] kryklia is now away
[15:39:34] Effgen is now xa
[15:39:40] red-agent is now online
[15:39:47] e4key.inbox is now Yep, I'm here.
[15:39:48] e4key.inbox is now xa
[15:40:00] erraen is now online
[15:41:46] Portnov is now away
[15:42:50] Portnov is now online
[15:43:11] Lolka is now online
[15:43:12] Lolka is now offline
[15:43:19] Lolka is now online
[15:43:20] Lolka is now offline
[15:44:12] poltergeist is now online
[15:44:27] kryklia is now away
[15:44:47] e4key.inbox is now xa
[15:44:48] e4key.inbox is now Yep, I'm here.
[15:45:00] erraen is now online
[15:45:09] Ziliboba is now online
[15:45:34] Ziliboba is now online
[15:45:54] Portnov is now away
[15:46:21] kurfust is now Да, я здесь.
[15:47:21] Александp is now xa
[15:48:06] Portnov is now online
[15:49:03] Ziliboba: привет всем, кто скажет как наложить на картинку тектс в pygtk ?
[15:49:27] kryklia is now away
[15:49:47] e4key.inbox is now Yep, I'm here.
[15:49:48] e4key.inbox is now xa
[15:50:01] erraen is now online
[15:50:22] Typhon: Ziliboba: http://www.daa.com.au/pipermail/pygtk/2008-November/016201.html ?
[15:51:59] unk2k is now away
[15:52:33] unk2k is now online
[15:52:35] Александp is now online
[15:53:32] red-agent is now away
[15:53:32] Portnov is now away
[15:53:50] Portnov is now online
[15:54:27] kryklia is now away
[15:54:47] e4key.inbox is now xa
[15:54:48] e4key.inbox is now Yep, I'm here.
[15:55:01] erraen is now online
[15:56:47] Ziliboba: Typhon: только вот примера я там не нашел (
[15:57:37] Александp is now away
[15:58:06] _lorien is now online
[15:58:38] xa4a is now away
[15:58:50] xa4a is now online
[15:59:28] kryklia is now away
[15:59:34] StormChild is now away
[15:59:48] e4key.inbox is now xa
[15:59:49] e4key.inbox is now Yep, I'm here.
[16:00:02] erraen is now online
[16:00:08] StormChild: не подскажете генератор кода для wsdl?
[16:00:15] StormChild: чтоб не вручную объекты описывать
[16:00:21] mishok13: Ziliboba, воспользуйся PIL
[16:00:23] mishok13: http://www.pythonware.com/library/pil/handbook/imagefont.htm
[16:01:29] mishok13: StormChild, а при чем здесь Python?
[16:02:27] StormChild: mishok13: есть сервер на джаве. нужен клиент, который пишу на питоне.
[16:02:53] mishok13: это как-то с SOAP связано, да?
[16:02:57] StormChild: ога
[16:03:02] StormChild: типа продвинутый соап
[16:03:11] mishok13: ну, тут таких спецов нету
[16:03:21] StormChild: :(
[16:03:24] mishok13: REST и всё такое
[16:03:32] red-agent is now xa
[16:03:35] StormChild: рест - это чуть не в ту сторону
[16:03:41] StormChild: тут что, одни джангисты? :-D
[16:03:48] mishok13: SOAP-py и lxml разве что тебе помогут
[16:03:57] mishok13: нет, я вообще вебом не очень пользуюсь
[16:04:04] mishok13: и джангу ваще не знаю
[16:04:28] kryklia is now away
[16:04:34] StormChild: да не, соап.пу (zsi) я и сам нагуглил...
[16:04:48] e4key.inbox is now Yep, I'm here.
[16:04:49] e4key.inbox is now xa
[16:05:02] erraen is now online
[16:05:17] StormChild: мне вот генератор кода бы.. а то классов обещает быть дофига
[16:06:21] poltergeist is now online
[16:06:21] Муркт is now online
[16:06:21] jedgar is now online
[16:06:21] огыешсук is now Available
[16:06:21] xa4a is now online
[16:06:21] kurfust is now Да, я здесь.
[16:06:21] лорд Морфий is now xa
[16:06:21] delpass is now xa
[16:06:21] red-agent is now xa
[16:06:21] bobry is now xa
[16:06:21] e4key.inbox is now xa
[16:06:21] _lorien is now online
[16:06:21] PC is now online
[16:06:21] nmk is now online
[16:06:21] MAVr is now Да, я тут
[16:06:21] Ляпатяпа is now online
[16:06:21] Ziliboba is now online
[16:06:21] mishok13 is now online
[16:06:21] tilarids is now online
[16:06:21] gigimon is now online
[16:06:21] Effgen is now xa
[16:06:21] StormChild is now away
[16:06:21] lievil is now online
[16:06:21] Typhon is now online
[16:06:21] unk2k is now online
[16:06:22] slav0nic is now away
[16:06:22] Александp is now away
[16:06:22] denz is now online
[16:06:22] erraen is now online
[16:06:22] wiz_ is now online
[16:06:22] Portnov is now online
[16:06:22] kryklia is now away
[16:06:22] cutwater is now едреная консоль делает меня сильней
[16:06:22] wiz is now away
[16:06:22] magic_pony is now online
[16:06:22] : _lorien установил(а) тему: Python.SU | Сначала поищи ответ на docs.python.org | Теперь поищи на google.com | За голосом - в приват к модераторам | Код постить в dumpz.org | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://➡.ws/pu | Хочешь задать вопрос - просто *задай* его! | Третий тупой вопрос за сутки — на http://throwcatch.me | Ещё рано использовать py3k
[16:06:22] kurfust is now offline
[16:06:24] mishok13: можешь потыкать lxml.objectify, но это что-то стрёмное (как по мне)
[16:06:47] Portnov is now away
[16:06:53] Portnov is now online
[16:07:18] Ziliboba is now away
[16:07:37] Александp is now xa
[16:07:47] Ziliboba is now online
[16:09:01] StormChild: да, обычная xml. http://pastebin.com/m7507a681 - где-то вот такая, для банального Hello World %)
[16:09:28] kryklia is now away
[16:09:48] e4key.inbox is now Yep, I'm here.
[16:09:49] e4key.inbox is now xa
[16:10:02] erraen is now online
[16:10:58] mishok13: бляпиздецзалупа
[16:11:02] mishok13: извините
[16:11:37] StormChild: простой класс, с одним методом sayHi , которому передается строка
[16:11:55] mishok13: окей, это простой класс
[16:11:57] mishok13: супер
[16:12:08] mishok13: как хорошо, что я не работаю с SOAP
[16:12:09] StormChild: мне страшно, что будет в случае с джавовскими бинами %)
[16:14:29] kryklia is now away
[16:14:49] e4key.inbox is now xa
[16:14:50] e4key.inbox is now Yep, I'm here.
[16:15:01] erraen is now online
[16:16:10] StormChild: нашёл, wsdl2py
[16:16:34] Effgen is now Я здесь.
[16:16:57] Typhon is now away
[16:17:00] Portnov is now away
[16:17:04] red-agent is now online
[16:18:10] Typhon is now online
[16:19:06] Portnov is now online
[16:19:28] kryklia is now away
[16:19:49] e4key.inbox is now Yep, I'm here.
[16:19:50] e4key.inbox is now xa
[16:20:01] erraen is now online
[16:20:30] Ляпатяпа is now xa
[16:20:34] xa4a is now away
[16:20:42] poltergeist is now away
[16:22:16] cutwater is now away
[16:23:46] xa4a is now online
[16:24:29] kryklia is now away
[16:24:50] e4key.inbox is now Yep, I'm here.
[16:24:51] e4key.inbox is now xa
[16:24:55] e4key.inbox is now offline
[16:24:57] poltergeist is now online
[16:24:58] e4key.inbox is now online
[16:24:59] e4key.inbox is now Yep, I'm here.
[16:25:01] erraen is now online
[16:25:10] e4key.inbox: привет всем
[16:25:15] e4key.inbox: а что оно значит? Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored
[16:25:50] wiz_ is now offline
[16:25:54] Александp is now online
[16:28:21] e4key.inbox is now online
[16:28:19] e4key.inbox is now Yep, I'm here.
[16:29:30] kryklia is now away
[16:29:52] PC is now away
[16:30:02] erraen is now online
[16:30:14] xa4a: e4key.inbox: покажи кусок кода, в котором возникает на dumpz.org
[16:30:23] xa4a: может в иксепшн суёшь что-то несуразное?
[16:31:00] PC is now online
[16:31:00] e4key.inbox: честно говоря я еще не нашел)) даж указателя на строку нет =/
[16:31:30] xa4a: $ grep "raise AttributeError"
[16:31:57] e4key.inbox: я в win
[16:32:51] e4key.inbox is now online
[16:32:51] e4key.inbox is now Yep, I'm here.
[16:34:06] Typhon: e4key.inbox: код покажешь? )
[16:34:26] e4key.inbox: чего именно? )
[16:34:30] kryklia is now away
[16:35:02] Typhon: где примерно возникает
[16:35:03] erraen is now online
[16:35:11] e4key.inbox: хотя он не такой большой щас залью)
[16:35:17] Typhon: например, обращение к методам и свойствам тобою созданных классов
[16:35:29] Ляпатяпа is now online
[16:35:32] StormChild: ух блин и нагенерило оно.... тот xml выглядит приятнее %)
[16:36:41] e4key.inbox: намутил правда) http://dumpz.org/11776/
[16:36:58] cutwater is now offline
[16:37:50] e4key.inbox is now online
[16:37:51] e4key.inbox is now Yep, I'm here.
[16:37:59] e4key.inbox: возникает исключение когда в списке proxies заканчиваются элементы
[16:39:02] xa4a: except:
[16:39:03] unk2k is now away
[16:39:06] xa4a: убери
[16:39:13] xa4a: тоесть впиши туда конкретный класс исключений
[16:39:26] e4key.inbox: собственно сейчас код немного обновил, до этого функция get_proxy выглядела так http://dumpz.org/11777/
[16:39:31] kryklia is now away
[16:40:03] erraen is now online
[16:40:10] e4key.inbox: а как можно в случае исключения выйти из программы чтобы все потоки оставновились
[16:40:40] xa4a: не ловить его
[16:40:51] xa4a: и оно убьёт твою программу
[16:40:56] e4key.inbox: =)
[16:41:02] e4key.inbox: а чтоб ошибок небыло?)
[16:41:17] xa4a: чтоб когда произошли ошибкки - ошибок не было?
[16:41:19] e4key.inbox: а просто техонько написать что прокси кончились и выйти
[16:41:19] xa4a: нуэ
[16:41:26] xa4a: если ты их не исправляешь, то они должны быть
[16:41:44] e4key.inbox: там просто запускается 100 потоков
[16:41:54] Typhon: sys.exit(0)
[16:41:56] e4key.inbox: а проксика допустим всего 3 =)
[16:41:58] xa4a: ну так получится, что worker-треды сдохнут
[16:42:04] Typhon: у тебя скорее всего вместо sys говняшка какая-то
[16:42:06] xa4a: их-то не жалко
[16:42:20] e4key.inbox: Tyhon: всмысле =)
[16:42:22] Typhon: точнее, не "скорее всего", а может быть, да :)
[16:42:24] xa4a: FUCK except:
[16:42:33] Typhon: но убери except
[16:42:51] e4key.inbox is now online
[16:42:52] e4key.inbox is now Yep, I'm here.
[16:43:44] xa4a: /me подумал о том, чтобы приделать боту автоматическую прогонку через pylint всех ссылок на dumpz =)
[16:43:50] e4key.inbox: хм поставил в главном вхиле тип исключения вроде норм =)
[16:44:30] e4key.inbox: + я походу забыл поставить continue
[16:44:31] kryklia is now away
[16:44:44] e4key.inbox: после 38 строки)
[16:44:48] Portnov is now away
[16:45:04] erraen is now online
[16:45:09] Portnov is now online
[16:45:25] Typhon: if proxy: pass
else: return
хы :)
[16:45:35] unk2k is now online
[16:45:49] e4key.inbox: =) не нашел как записать сразу)))
[16:45:57] e4key.inbox: помню гдет видел но забыл
[16:46:00] xa4a: if not proxy: return
[16:46:25] Typhon: e4key.inbox: и обязательно docs.python.org посети
[16:46:49] jedgar is now away
[16:46:50] xa4a: e4key.inbox: ты же знаешь, что у тебя каждый тред не больше одного запроса отработает?
[16:47:06] e4key.inbox: ммм почему?
[16:47:43] e4key.inbox: проксики же не pop'ом выдираются
[16:47:46] xa4a: в 39-й break
[16:47:51] e4key.inbox is now online
[16:47:52] e4key.inbox is now Yep, I'm here.
[16:48:25] e4key.inbox: а что там =) это просто вхайл который при нормальной прокси должен выполнится всего 1 раз
[16:48:31] Ziliboba is now offline
[16:48:48] e4key.inbox: если нет то прокси помещается в бед лист и берется новый
[16:49:18] e4key.inbox: ааа =) нужно наверн в еще 1 вхайд вложить?
[16:49:19] xa4a: нет, не так
[16:49:28] e4key.inbox: вхайл*
[16:49:31] kryklia is now away
[16:49:32] xa4a: во-первых выкинь re
[16:49:34] xa4a: тут он не нужен
[16:49:41] xa4a: check = re.findall('Login successfully', page) if len(check) != 0:
[16:49:42] xa4a: =>
[16:49:44] e4key.inbox: =(
[16:49:55] xa4a: if 'Login successfully' in page:
[16:49:55] e4key.inbox: как так не нужен)
[16:50:04] erraen is now online
[16:50:17] e4key.inbox: а ну да)
[16:50:22] jedgar is now online
[16:50:23] e4key.inbox: регулярок то нет))
[16:50:43] xa4a: elif 'incorrect_login' in page:
[16:51:09] xa4a: и у тебя это..
[16:51:16] gigimon is now offline
[16:51:19] xa4a: вот запустилось пят ьтредов на твой проксилист
[16:51:26] xa4a: все взяли первый проксяк
[16:51:40] xa4a: который не работает
[16:51:48] e4key.inbox: =)
[16:51:57] xa4a: и каждый тебе будет его перепомечать как плохой
[16:52:11] e4key.inbox: а как тут тогда?
[16:52:36] gigimon is now online
[16:52:44] xa4a: а ты хочешь на каждый тред по проксяку?
[16:52:52] e4key.inbox is now online
[16:52:53] e4key.inbox is now Yep, I'm here.
[16:52:58] e4key.inbox: нет
[16:53:17] e4key.inbox: еслиб так то прост в начала функции proxy = proxies.pop()
[16:53:32] e4key.inbox: а тут на каждый прокси неизвестно сколько запросов
[16:53:33] xa4a: ну можешь сделать очередь из проксяков. вначале все туда положить, потом каждый тред: 1. выбирает первый проксяк из очереди, пытает его. если удачно - кладёт обратно в очередь, иначе - не кладёт
[16:53:52] xa4a: так они по кругу будут использоваться и точно один прокси не будет в двух тредах задействован
[16:54:04] e4key.inbox: ого идея =)
[16:54:29] e4key.inbox: а почему не будет в двух тредах задействован?
[16:54:31] kryklia is now away
[16:54:37] mishok13: xa4a, запатентуй идею, да
[16:54:43] e4key.inbox: смаотря скок прокси и скок тредов)
[16:55:03] e4key.inbox: смотря*
[16:55:04] xa4a: потому что, если один тред выберет его из очереди, то другой тред не сможет сделать это же, пока первый не закончит и не положит его обратно
[16:55:05] erraen is now online
[16:55:18] xa4a: ну так получится, что больше, чем прокси тредов работать не будет, да
[16:55:40] e4key.inbox: а одновременно всмысле =)
[16:55:42] xa4a: аналогичных по функциональности способ - random.choice :)
[16:56:08] e4key.inbox: не лучше сделаю так сенкс)
[16:56:34] xa4a: и удали все строки, которые матчатся паттернами 're' и 'except:'
[16:57:42] e4key.inbox: я уже их все убрал)
[16:57:53] e4key.inbox is now online
[16:57:54] e4key.inbox is now Yep, I'm here.
[16:58:38] kryklia is now online
[16:58:39] kryklia is now online
[16:59:32] kryklia is now online
[17:00:06] erraen is now online
[17:02:54] e4key.inbox is now Yep, I'm here.
[17:02:55] e4key.inbox is now online
[17:03:56] MAVr is now away
[17:04:32] kryklia is now online
[17:04:54] e4key.inbox: но я в тредах несовсем догнал =(
[17:05:04] e4key.inbox: вот у меня в функции while екгу
[17:05:06] erraen is now online
[17:05:12] e4key.inbox: while true *
[17:05:18] red-agent is now away
[17:05:41] e4key.inbox: если я загружаю страницу удачно то происходит break
[17:05:48] e4key.inbox: и какова потом участь треда?
[17:05:56] MAVr is now xa
[17:05:59] MAVr is now xa
[17:06:06] MAVr is now Да, я тут
[17:06:25] e4key.inbox: сдохнет он наверн. поэтому мне нужно походу сделать while в while
[17:06:29] xa4a: e4key.inbox: он выполнился
[17:06:38] xa4a: тебе не нужен while True ghjcnj
[17:06:39] xa4a: просто
[17:06:50] xa4a: тоесть не нужен break
[17:06:54] e4key.inbox: ну вот я так и думал)
[17:07:06] e4key.inbox: нет там прост нужно обернуть еще в 1 while
[17:07:07] xa4a is now away
[17:07:11] xa4a: нет, не нужно
[17:07:16] e4key.inbox: этот while для другого)
[17:07:16] xa4a: хотя как хочешь
[17:07:18] xa4a: /me ушёл
[17:07:23] e4key.inbox: а как ты предлогаешь?
[17:07:40] e4key.inbox: нет ток не над уходить))))
[17:07:55] e4key.inbox is now online
[17:07:56] e4key.inbox is now Yep, I'm here.
[17:09:05] e4key.inbox: этот while для следущего: пробуем загрузить страницу и если она не загружается то хватаем новый проксик и пробуем снова. а если загрузилась то break
[17:09:07] MAVr is now away
[17:09:33] kryklia is now online
[17:10:06] erraen is now online
[17:10:15] Portnov is now offline
[17:11:08] MAVr is now xa
[17:12:41] StormChild is now offline
[17:12:56] e4key.inbox is now online
[17:12:57] e4key.inbox is now Yep, I'm here.
[17:13:58] MAVr is now Да, я тут
[17:14:09] lievil is now away
[17:14:32] kryklia is now online
[17:14:50] e4key.inbox: xa4a
[17:15:07] erraen is now online
[17:15:14] e4key.inbox: xa4a: напиши плз как вернешься)
[17:15:18] red-agent is now xa
[17:16:10] red-agent is now online
[17:17:56] e4key.inbox is now Yep, I'm here.
[17:17:57] e4key.inbox is now online
[17:18:38] Portnov is now online
[17:18:44] Portnov is now online
[17:19:01] Муркт is now offline
[17:19:33] kryklia is now online
[17:20:06] erraen is now offline
[17:20:30] gigimon: товарищи, подскажите такую вещь, если я используя jquery передам в getJson данные, как мне их получить в джанговской вьюхе?

[17:20:57] gigimon: request.POST[]?
[17:21:30] slav0nic is now offline
[17:21:44] Effgen is now away
[17:22:56] e4key.inbox is now online
[17:22:57] e4key.inbox is now Yep, I'm here.
[17:24:09] lievil is now xa
[17:24:34] kryklia is now online
[17:25:30] Typhon is now offline
[17:26:09] wiz: возьми да попробуй. там же 2 варианта всего
[17:26:18] unk2k is now offline
[17:27:57] e4key.inbox is now online
[17:27:58] e4key.inbox is now Yep, I'm here.
[17:28:10] erraen is now online
[17:28:11] erraen is now online
[17:28:31] erraen is now offline
[17:29:12] Effgen is now Я здесь.
[17:29:34] kryklia is now online
[17:30:00] лорд Морфий is now offline
[17:30:01] лорд Морфий is now xa
[17:32:57] e4key.inbox is now online
[17:32:58] e4key.inbox is now Yep, I'm here.
[17:33:34] Ziliboba is now online
[17:34:35] kryklia is now online
[17:36:35] Ziliboba: всем привет, подскажите пожалуста: вот есть функция
def sample_factory(applet, iid):
button = gtk.Button(label="Klick Me ;)", stock=None)
label = gtk.Label("this is Caption")
applet.add(buttonl)
applet.add(label)
applet.show_all()
return gtk.TRUE

в итоге выходит только один, первый объявленый контрол (button), а мне надо чтоб они оба в паре...кто подскажет где ошибка ?
[17:37:54] wiz: а ты layout manager сделал?
[17:37:58] e4key.inbox is now online
[17:37:59] e4key.inbox is now Yep, I'm here.
[17:38:14] wiz: они походу занимают всю площадь апплета и накладываются друг на друга
[17:39:36] kryklia is now online
[17:40:15] Ziliboba: wiz: спасибо, будем копатся, просто я в питоне новичек )
[17:41:02] MAVr is now away
[17:41:36] red-agent is now away
[17:41:48] MAVr is now Да, я тут
[17:42:59] e4key.inbox is now online
[17:43:00] e4key.inbox is now Yep, I'm here.
[17:44:36] kryklia is now online
[17:48:00] e4key.inbox is now online
[17:48:01] e4key.inbox is now Yep, I'm here.
[17:49:36] kryklia is now online
[17:50:06] kryklia is now away
[17:50:07] kryklia is now away
[17:50:20] mdn is now online
[17:50:21] mdn is now online
[17:50:36] erraen is now online
[17:50:37] erraen is now online
[17:50:48] erraen is now online
[17:50:59] erraen is now offline
[17:51:36] red-agent is now xa
[17:53:00] e4key.inbox is now online
[17:53:01] e4key.inbox is now Yep, I'm here.
[17:53:25] lievil is now online
[17:54:36] kryklia is now away
[17:55:32] GrimbleGromble is now online
[17:55:52] e4key.inbox: хм
[17:56:20] e4key.inbox: а как можно сделать чтобы если я добавил во время выполнения скрипта в файл проксей скрипт подцепил их?
[17:56:37] poltergeist is now away
[17:57:15] e4key.inbox: посмотрел в доках r+ для чтения с обновлением
[17:57:26] e4key.inbox: только вот как?)
[17:57:49] mishok13 is now away
[17:57:52] poltergeist is now online
[17:58:01] e4key.inbox is now online
[17:58:01] e4key.inbox: а не r+ не то =)
[17:58:02] e4key.inbox is now Yep, I'm here.
[17:59:32] lievil is now away
[17:59:37] kryklia is now away
[18:01:34] mishok13 is now online
[18:02:04] lievil is now online
[18:03:01] e4key.inbox is now Yep, I'm here.
[18:03:02] e4key.inbox is now online
[18:03:13] Effgen is now away
[18:03:14] Portnov is now away
[18:04:16] PC is now away
[18:04:37] kryklia is now away
[18:07:10] PC is now online
[18:08:01] e4key.inbox is now online
[18:08:02] e4key.inbox is now Yep, I'm here.
[18:09:38] kryklia is now away
[18:09:59] Portnov is now online
[18:11:03] e4key.inbox: а как выйти из родительского цикла?
[18:11:15] e4key.inbox: break выходит из того в котором находится
[18:11:28] e4key.inbox: а как выйти из цикла на уровень выше?
[18:13:02] e4key.inbox is now online
[18:13:03] e4key.inbox is now Yep, I'm here.
[18:13:34] MAVr is now away
[18:14:30] Ziliboba is now offline
[18:14:38] kryklia is now away
[18:14:54] mishok13 is now away
[18:14:58] mishok13 is now online
[18:15:33] MAVr is now xa
[18:17:00] PC is now away
[18:17:02] Effgen is now Я здесь.
[18:18:02] e4key.inbox is now online
[18:18:03] e4key.inbox is now Yep, I'm here.
[18:18:25] Effgen is now away
[18:18:32] PC is now online
[18:19:38] kryklia is now away
[18:19:45] Portnov is now away
[18:20:00] mishok13 is now away
[18:20:44] MAVr is now away
[18:20:48] MAVr is now Да, я тут
[18:23:03] e4key.inbox is now Yep, I'm here.
[18:23:04] e4key.inbox is now online
[18:23:48] MAVr is now away
[18:23:51] wiz: raise
[18:24:09] wiz: или return
[18:24:23] wiz: а вообще ты что-то делаешь не так видимо, раз такая потребность возникла
[18:24:38] kryklia is now away
[18:24:53] MAVr is now Да, я тут
[18:25:15] feedbot is now online
[18:25:17] feedbot: Язык программирования Python / Офисный муз.проигрыватель с элементами демократии своими руками http://habrahabr.ru/blogs/python/67922/
[18:25:20] feedbot is now offline
[18:26:31] poltergeist is now away
[18:28:03] e4key.inbox is now online
[18:28:03] e4key.inbox is now Yep, I'm here.
[18:28:54] Portnov is now online
[18:29:06] Effgen is now Я здесь.
[18:29:16] mishok13 is now online
[18:29:39] MAVr is now away
[18:29:39] kryklia is now away
[18:30:36] _lorien: e4key.inbox, вынеси внешний цикл в функцию
[18:31:38] MAVr is now xa
[18:33:03] e4key.inbox is now Yep, I'm here.
[18:33:04] e4key.inbox is now online
[18:34:09] MAVr is now Да, я тут
[18:34:18] mishok13 is now away
[18:34:31] poltergeist is now xa
[18:34:39] kryklia is now away
[18:34:51] red-agent is now online
[18:35:18] Effgen is now away
[18:36:23] Portnov is now offline
[18:37:04] Effgen is now Я здесь.
[18:38:04] e4key.inbox is now online
[18:38:05] e4key.inbox is now Yep, I'm here.
[18:39:40] kryklia is now away
[18:40:39] unk2k is now online
[18:41:40] unk2k: как в шаблоне сделать что то типа
{% for blog in blogs %}
{% include 'blog.html' %}
{% endfor %}
?
[18:41:56] poltergeist is now online
[18:42:00] kryklia is now online
[18:42:01] kryklia is now online
[18:42:02] poltergeist is now offline
[18:43:03] _lorien: вот так:
{% for blog in blogs %}
{% include 'blog.html' %}
{% endfor %}
[18:43:05] e4key.inbox is now online
[18:43:06] e4key.inbox is now Yep, I'm here.
[18:43:33] Typhon is now online
[18:43:42] Typhon: Стеклянные изделия из стекла "Дисплеи".
[18:44:18] mishok13 is now xa
[18:44:41] kryklia is now online
[18:44:44] Typhon: Печником гнул стекла в печи, радиусы
[18:44:50] Typhon: ад какой-то
[18:47:20] GrimbleGromble is now away
[18:48:05] e4key.inbox is now online
[18:48:06] e4key.inbox is now Yep, I'm here.
[18:49:30] GrimbleGromble is now online
[18:49:41] kryklia is now online
[18:50:33] kryklia is now away
[18:50:34] kryklia is now away
[18:50:59] PC is now offline
[18:51:56] mdn is now offline
[18:53:06] e4key.inbox is now Yep, I'm here.
[18:53:07] e4key.inbox is now online
[18:53:37] red-agent is now away
[18:54:29] red-agent is now online
[18:54:33] unk2k: почему я пишу blogs = Blog.objects.filter(user=request.user) а в ответ он нечего не отдает ? хотя для данного user есть что то в Blog
[18:54:41] kryklia is now away
[18:55:33] _lorien: unk2k, ты определись для начала передаётся ли blogs в шаблон или он пустой, например, print во view воткни
[18:55:41] _lorien: если передаётся, значит, ты наглючил в blog.html
[18:56:09] unk2k: неее. я делаю blogs = Blog.objects.all() и все в шоколаде
[18:56:18] unk2k: проблема в .filter(user=request.user)
[18:56:25] unk2k: но почему я понять не могу ;(((
[18:56:44] огыешсук is now offline
[18:56:45] unk2k: в ответ он мне list выдает пустой
[18:57:19] _lorien: значит ты anonymouse :0)
[18:57:23] unk2k: не
[18:57:29] _lorien: или ты не тот юзверь для которого созданы блоги
[18:57:34] _lorien: других причин не может быть :)
[18:57:50] unk2k: вау
[18:58:02] unk2k: я сделал print request.user и в консоле он сказал мне root
[18:58:07] e4key.inbox is now online
[18:58:07] unk2k: и под root я постил сообщения
[18:58:08] e4key.inbox is now Yep, I'm here.
[18:59:16] mishok13 is now online
[18:59:42] kryklia is now away
[18:59:42] Ляпатяпа: print request.user.id
for blog in Blog.objects.all(): print blog.user.id
[19:01:40] unk2k: ;(
[19:01:43] unk2k: опять я не прав
[19:02:03] unk2k: он ставил user_id=0
[19:03:08] e4key.inbox is now Yep, I'm here.
[19:03:09] e4key.inbox is now online
[19:04:18] mishok13 is now away
[19:04:42] kryklia is now away
[19:07:40] Ляпатяпа is now offline
[19:07:49] gigimon: хм

[19:08:07] gigimon: а в firefox с firebug я увижу DOM после обновления JS?
[19:08:08] e4key.inbox is now online
[19:08:09] e4key.inbox is now Yep, I'm here.
[19:09:14] mishok13 is now online
[19:09:17] unk2k: да
[19:09:34] gigimon: ок
[19:09:37] unk2k: это же дом
[19:09:43] kryklia is now away
[19:09:46] gigimon: придется поставить, а то в оперовском dragonfly не вижу
[19:10:01] gigimon: или не нашел как
[19:11:26] unk2k: uhhh
[19:11:37] unk2k: вообще работу с html/css/js без firebug не вижу.
[19:13:09] e4key.inbox is now Yep, I'm here.
[19:13:10] e4key.inbox is now online
[19:14:16] mishok13 is now away
[19:14:44] kryklia is now away
[19:16:10] unk2k: Боги джангонафтики, последний тупой вопрос (а имхо и не тупой)
у меня есть страница, на этой странице выводятся список блогов.
список блогов можно сортировать по 5 полям (т.е. стоит ссылка, сортировать по дате, вторая ссылка, сортировать по рейтингу и т.п.)
так же у меня снизу идет пагинация (то же <a href=XX> страница 1,2,3,4...)
а так же у меня еще есть поиск (который передает свои значения через GET).
в общем у меня ссылка может быть такой
/blog/?order_by=rating
/blog/?order_by=rating&desc=true
/blog/?search=my_text&page=100&order_by=author&desc=true
вот в чем вопрос у меня. при каждом "рандиренге" страници, в каждый <a href=XX> я должен прописывать те GET значения которые уже есть, а так же изменять их (типа desc=false)
когда я делал это на пхп, я написал спец плагин к smarty, а вот как это можно сделать ЛУЧШЕ всего в дажнго ?
[19:16:50] GrimbleGromble is now away
[19:17:23] Effgen is now away
[19:17:29] _lorien: я делал через фильтр
[19:17:40] Typhon is now away
[19:18:10] _lorien: <a href="{% qs_replace qs_params "user" "root" %}">как-то так :)</a>
[19:18:10] e4key.inbox is now Yep, I'm here.
[19:18:11] e4key.inbox is now online
[19:18:18] _lorien: ой, тэг это, не фильтр
[19:18:28] _lorien: хотя фильтр это тоже тэг :)
[19:18:34] jedgar is now away
[19:19:34] mishok13 is now online
[19:19:45] kryklia is now away
[19:19:52] Typhon is now online
[19:19:53] MAVr is now away
[19:20:05] MAVr is now Да, я тут
[19:21:19] unk2k is now away
[19:21:21] GrimbleGromble is now online
[19:22:09] unk2k is now online
[19:22:45] unk2k: _lorien, можешь одолжить тэг ?
[19:22:57] _lorien: нет, я спать хочу :)
[19:23:02] _lorien: и выдирать мне лень
[19:23:10] e4key.inbox is now online
[19:23:11] e4key.inbox is now Yep, I'm here.
[19:23:12] unk2k: да сам тег кинь
[19:23:15] unk2k: он же в файле
[19:23:24] unk2k: а я сам допилю
[19:23:40] erraen is now online
[19:23:41] erraen is now online
[19:24:00] Effgen is now Я здесь.
[19:24:01] erraen is now offline
[19:24:07] erraen is now online
[19:24:08] erraen is now online
[19:24:25] Portnov is now online
[19:24:29] _lorien: http://dumpz.org/11782/
[19:24:30] Portnov is now online
[19:24:34] mishok13 is now away
[19:24:39] erraen is now online
[19:24:42] erraen is now offline
[19:24:45] kryklia is now away
[19:24:55] erraen is now online
[19:24:56] nmk is now offline
[19:24:56] erraen is now online
[19:25:05] feedbot is now online
[19:25:07] feedbot: Developing a full-text indexer in Python http://www.reddit.com/r/Python/comments/9e0cf/developing_a_fulltext_indexer_in_python/
[19:25:10] feedbot is now offline
[19:26:11] Александp is now away
[19:28:11] e4key.inbox is now Yep, I'm here.
[19:28:12] e4key.inbox is now online
[19:28:59] MAVr is now offline
[19:29:31] erraen is now online
[19:29:46] kryklia is now away
[19:30:24] unk2k: _lorien, спс
[19:32:22] unk2k is now offline
[19:32:54] cutwater is now online
[19:32:57] jedgar is now online
[19:33:11] e4key.inbox is now online
[19:33:12] e4key.inbox is now Yep, I'm here.
[19:33:44] cutwater is now offline
[19:33:58] cutwater is now online
[19:34:27] Александp is now online
[19:34:32] erraen is now online
[19:34:34] mishok13 is now xa
[19:34:46] kryklia is now away
[19:37:26] Typhon is now away
[19:37:38] Typhon is now online
[19:37:43] red-agent is now away
[19:38:12] e4key.inbox is now online
[19:38:13] e4key.inbox is now Yep, I'm here.
[19:39:32] erraen is now online
[19:39:47] kryklia is now away
[19:40:07] lievil is now away
[19:42:42] Typhon is now away
[19:43:13] e4key.inbox is now Yep, I'm here.
[19:43:14] e4key.inbox is now online
[19:43:45] lievil is now online
[19:43:55] Lolka is now online
[19:44:33] erraen is now online
[19:44:48] kryklia is now away
[19:45:33] rfafdls is now what we find changes who we become
[19:45:42] rfafdls is now what we find changes who we become
[19:46:06] Typhon is now online
[19:46:15] Lolka is now offline
[19:46:16] Lolka is now online
[19:47:43] red-agent is now xa
[19:48:14] e4key.inbox is now online
[19:48:15] e4key.inbox is now Yep, I'm here.
[19:49:31] Александp is now away
[19:49:33] erraen is now online
[19:49:48] kryklia is now away
[19:53:14] e4key.inbox is now Yep, I'm here.
[19:53:15] e4key.inbox is now online
[19:54:33] erraen is now online
[19:54:49] kryklia is now away
[19:58:14] e4key.inbox is now online
[19:58:15] e4key.inbox is now Yep, I'm here.
[19:59:16] denz is now away
[19:59:31] Александp is now xa
[19:59:33] erraen is now online
[19:59:33] mishok13 is now online
[19:59:49] kryklia is now away
[20:01:21] GrimbleGromble is now away
[20:02:11] GrimbleGromble is now online
[20:02:13] lievil is now away
[20:03:15] e4key.inbox is now Yep, I'm here.
[20:03:16] e4key.inbox is now online
[20:04:34] erraen is now online
[20:04:35] mishok13 is now away
[20:04:37] mishok13 is now online
[20:04:50] kryklia is now away
[20:05:52] pzskc383 is now online
[20:05:53] pzskc383 is now online
[20:06:09] pzskc383: sevenov
[20:08:15] e4key.inbox is now online
[20:08:16] e4key.inbox is now Yep, I'm here.
[20:09:16] denz is now xa
[20:09:35] erraen is now online
[20:09:50] kryklia is now away
[20:10:35] mishok13 is now away
[20:11:06] denz is now online
[20:12:13] lievil is now xa
[20:13:03] kryklia is now offline
[20:13:15] e4key.inbox is now online
[20:13:16] e4key.inbox is now Yep, I'm here.
[20:13:27] lievil is now online
[20:14:26] Lolka is now offline
[20:14:34] Lolka is now online
[20:14:35] erraen is now online
[20:14:35] Lolka is now offline
[20:14:44] Lolka is now online
[20:15:10] rfafdls is now offline
[20:15:51] Александp is now online
[20:17:37] Effgen is now away
[20:18:15] e4key.inbox is now online
[20:18:16] e4key.inbox is now Yep, I'm here.
[20:19:35] erraen is now online
[20:20:35] mishok13 is now xa
[20:23:15] e4key.inbox is now online
[20:23:16] e4key.inbox is now Yep, I'm here.
[20:23:39] Lolka is now offline
[20:24:35] erraen is now online
[20:24:41] Effgen is now Я здесь.
[20:25:29] PC is now Аська сцуко глючит. Мой Jabber/GTalk: pc@jabber.gafol.net
[20:25:58] PC is now offline
[20:26:18] PC is now Аська сцуко глючит. Мой Jabber/GTalk: pc@jabber.gafol.net
[20:28:16] e4key.inbox is now Yep, I'm here.
[20:28:17] e4key.inbox is now online
[20:29:06] denz is now away
[20:29:36] erraen is now online
[20:31:55] jolits is now away
[20:32:07] Portnov is now away
[20:32:15] PC is now away
[20:33:15] e4key.inbox is now online
[20:33:16] e4key.inbox is now Yep, I'm here.
[20:33:31] Portnov is now online
[20:34:37] erraen is now online
[20:35:15] klichuk is now online
[20:35:35] mishok13 is now online
[20:38:16] e4key.inbox is now online
[20:38:17] e4key.inbox is now Yep, I'm here.
[20:38:47] mdn is now online
[20:38:48] mdn is now online
[20:39:07] denz is now xa
[20:39:16] GrimbleGromble is now offline
[20:39:38] erraen is now online
[20:40:35] mishok13 is now away
[20:43:16] e4key.inbox is now online
[20:43:17] e4key.inbox is now Yep, I'm here.
[20:43:46] pymonk is now online
[20:44:38] erraen is now online
[20:44:52] _lorien is now away
[20:45:53] Portnov is now away
[20:46:26] Александp is now away
[20:46:27] Александp is now online
[20:47:12] PC is now Аська сцуко глючит. Мой Jabber/GTalk: pc@jabber.gafol.net
[20:47:41] Portnov is now online
[20:47:47] Александp is now away
[20:47:48] Александp is now online
[20:48:17] e4key.inbox is now Yep, I'm here.
[20:48:18] e4key.inbox is now online
[20:48:21] wiz: pzskc383
[20:48:48] pzskc383: да я севенову написал что хочу встетится
[20:48:52] pzskc383: а дела сложились не так хорошо
[20:49:39] erraen is now online
[20:49:48] _lorien is now xa
[20:49:56] _lorien is now online
[20:50:35] mishok13 is now xa
[20:51:07] Effgen is now away
[20:52:14] PC is now away
[20:52:17] slav0nic is now online
[20:52:49] Александp is now away
[20:53:17] e4key.inbox is now online
[20:53:18] e4key.inbox is now Yep, I'm here.
[20:53:54] mishok13 is now offline
[20:53:59] mishok13 is now online
[20:54:16] Effgen is now Я здесь.
[20:54:39] erraen is now online
[20:54:56] lievil is now away
[20:55:11] mishok13 is now offline
[20:55:14] lievil is now online
[20:58:18] e4key.inbox is now online
[20:58:19] e4key.inbox is now Yep, I'm here.
[20:59:40] erraen is now online
[21:00:50] pzskc383 is now offline
[21:01:08] jolits is now offline
[21:01:10] jolits is now away
[21:01:50] slav0nic is now away
[21:01:51] cutwater is now away
[21:02:49] Александp is now xa
[21:03:16] slav0nic is now online
[21:03:18] e4key.inbox is now Yep, I'm here.
[21:03:19] e4key.inbox is now online
[21:04:07] denz is now online
[21:04:33] cutwater is now online
[21:04:41] erraen is now online
[21:08:18] e4key.inbox is now online
[21:08:19] e4key.inbox is now Yep, I'm here.
[21:08:56] slav0nic is now away
[21:09:07] denz is now away
[21:09:42] erraen is now online
[21:11:48] Effgen is now away
[21:13:18] e4key.inbox is now online
[21:13:19] e4key.inbox is now Yep, I'm here.
[21:14:17] _lorien is now offline
[21:14:42] erraen is now online
[21:16:26] cutwater is now away
[21:17:02] jedgar is now offline
[21:17:12] PC is now Аська сцуко глючит. Мой Jabber/GTalk: pc@jabber.gafol.net
[21:17:23] jedgar is now online
[21:17:25] jedgar is now online
[21:17:28] cutwater is now online
[21:17:47] Александp is now online
[21:18:18] e4key.inbox is now Yep, I'm here.
[21:18:19] e4key.inbox is now online
[21:18:35] wiz: где в Киеве можно вебкамеру купить с доставкой?
[21:18:56] slav0nic is now xa
[21:19:07] denz is now xa
[21:19:37] Effgen is now Я здесь.
[21:19:43] erraen is now online
[21:22:14] PC is now away
[21:22:39] pzskc383 is now online
[21:22:40] pzskc383 is now online
[21:22:49] Александp is now away
[21:23:19] e4key.inbox is now online
[21:23:20] e4key.inbox is now Yep, I'm here.
[21:23:48] lievil is now away
[21:24:44] erraen is now online
[21:25:00] lievil is now online
[21:27:46] slav0nic is now offline
[21:27:49] slav0nic is now xa
[21:27:54] Lolka is now online
[21:27:56] slav0nic is now offline
[21:28:19] e4key.inbox is now online
[21:28:20] e4key.inbox is now Yep, I'm here.
[21:28:24] Lolka: wiz, посмотри на hotline.ua
[21:29:31] cutwater is now offline
[21:29:32] PC is now Аська сцуко глючит. Мой Jabber/GTalk: pc@jabber.gafol.net
[21:29:44] erraen is now online
[21:30:27] Мозгошредер is now away
[21:32:05] gigimon: подскажите пожалуйста по jquery
[21:32:17] gigimon: http://dumpz.org/11784/ -- почему не добавляется </form> ?
[21:32:25] gigimon: если туда любой другйо текст, то добавляется
[21:32:47] gigimon: в json.form обычная form.as_p()
[21:32:49] Александp is now xa
[21:33:20] e4key.inbox is now online
[21:33:21] e4key.inbox is now Yep, I'm here.
[21:34:45] erraen is now online
[21:34:48] gigimon: wiz: на розетке rozetka.com.ua
[21:34:54] Effgen is now away
[21:35:25] e4key.inbox is now offline
[21:35:38] mishok13 is now online
[21:36:24] wiz: а за WM там продают где-нибудь?
[21:36:34] gigimon: lf
[21:36:40] gigimon: розетка, стала недавно брать
[21:38:13] jolits is now xa
[21:38:27] gigimon: ну дык, по jquery никто не подскажет? :(
[21:38:39] Effgen is now Я здесь.
[21:39:46] erraen is now online
[21:40:35] mishok13 is now away
[21:42:17] wiz: у тебя первый append её закрывает
[21:42:55] Александp is now online
[21:43:08] Lolka is now offline
[21:43:15] Lolka is now online
[21:43:33] wiz: надо сначала form = $("<form ....></form>");
form.append(json.form);
form.append($('<input ..../>'));
$("#mainn").append(form)
[21:43:34] wiz: как-то так
[21:43:48] wiz: это ж бубль-DOM (:
[21:44:47] erraen is now online
[21:46:42] RaD@home is now online
[21:46:43] RaD@home is now online
[21:46:57] RaD@home: for a in ['a', 'b', 'c'
[21:47:27] RaD@home: как это сделать, туплю
for xxx in ['a', 'b', 'c']:
self.xxx = 1
[21:47:39] Lolka is now offline
[21:47:45] RaD@home is now online
[21:48:39] Lolka is now online
[21:49:08] Александp is now away
[21:49:08] gigimon: wiz: понял.. вроде)) попробую
[21:49:16] Lolka: RaD@home: setattr(self, xxx, 1)
[21:49:30] gigimon: wiz: ток почему получается первый закрывает? оно ж подряд выводит, или нет?
[21:49:47] erraen is now online
[21:50:16] gigimon: wiz: или между тегов вставляет?
[21:50:30] Александp is now online
[21:50:34] mishok13 is now xa
[21:52:45] RaD@home is now online
[21:53:06] gigimon: wiz: понял, спс
[21:53:36] Effgen is now away
[21:53:42] Effgen is now Я здесь.
[21:54:15] RaD@home: во! точно
[21:54:21] RaD@home: всё время забываю про setattr
[21:54:48] erraen is now online
[21:57:39] slav0nic is now online
[21:57:46] RaD@home is now online
[21:57:49] slav0nic is now online
[21:57:57] Lolka is now offline
[21:59:29] Александp is now away
[21:59:48] erraen is now online
[22:00:21] Effgen is now away
[22:02:46] RaD@home is now online
[22:03:03] gigimon is now offline
[22:03:04] gigimon is now online
[22:03:06] pzskc383 is now offline
[22:04:04] PC is now away
[22:04:08] denz is now online
[22:04:49] erraen is now online
[22:07:11] Effgen is now Я здесь.
[22:07:47] RaD@home is now online
[22:09:08] denz is now away
[22:09:28] Александp is now xa
[22:09:49] erraen is now online
[22:11:13] pymonk is now offline
[22:11:22] PC is now Аська сцуко глючит. Мой Jabber/GTalk: pc@jabber.gafol.net
[22:12:48] RaD@home is now online
[22:14:11] огыешсук is now Available
[22:14:50] erraen is now online
[22:15:40] RaD@home is now offline
[22:17:25] огыешсук is now offline
[22:17:42] Александp is now online
[22:18:43] Ferroman is now online
[22:18:52] Ferroman is now offline
[22:19:08] denz is now xa
[22:19:51] erraen is now online
[22:20:15] PC is now offline
[22:20:33] PC is now Аська сцуко глючит. Мой Jabber/GTalk: pc@jabber.gafol.net
[22:21:29] Effgen is now away
[22:24:25] Александp is now away
[22:24:51] erraen is now online
[22:26:52] Effgen is now Я здесь.
[22:29:51] erraen is now online
[22:30:39] red-agent is now online
[22:30:58] klichuk is now offline
[22:34:01] Александp is now online
[22:34:52] erraen is now online
[22:35:31] gigimon: хм
[22:35:51] red-agent is now away
[22:35:58] gigimon: подскажите, что такое
есть форма:
class ImageUploadForm(forms.Form):
description = forms.CharField(max_length=100, label=u'Описание')
picture = forms.ImageField(label=u'Файл')

я ее вывожу, комичку, но она не валидна
[22:36:11] gigimon: class ImageUploadForm(forms.Form):
description = forms.CharField(max_length=100, label=u'Описание')
picture = forms.ImageField(label=u'Файл')
[22:36:21] gigimon: вот так проверяю:
if request.method == 'POST':
form = ImageUploadForm(request.POST, request.FILES)
if form.is_valid():
path1, path2 = save_resize_picture(request.FILES['picture'])
output = simplejson.dumps({'big':path1, 'small':path2, 'description':request.POST['description']})
else:
print request.POST, request.FILES

[22:36:38] gigimon: форма не валидна, в оишбке: <QueryDict: {u'picture': [u'background.jpg'], u'description': [u'fgdfgdfg']}> <MultiValueDict: {}>
[22:36:43] gigimon: вроде передает
[22:37:30] RaD@home is now online
[22:37:31] RaD@home is now online
[22:37:47] RaD@home: а джанговский флетпейдж можно с общим контекстом использовать?
[22:39:54] erraen is now online
[22:40:06] xa4a is now online
[22:40:56] Александp is now away
[22:42:06] RaD@home is now online
[22:42:26] PC is now offline
[22:44:54] erraen is now online
[22:45:35] red-agent is now online
[22:45:49] gigimon: нашел бок
[22:45:55] gigimon: забыл про enctype
[22:46:00] Александp is now online
[22:47:07] RaD@home is now online
[22:49:54] erraen is now online
[22:52:08] RaD@home is now online
[22:52:32] red-agent is now offline
[22:52:39] red-agent is now online
[22:54:00] Александp is now away
[22:54:55] erraen is now online
[22:57:01] xa4a: rip twitter.com?
[22:57:08] RaD@home is now online
[22:59:56] erraen is now online
[23:00:13] slav0nic: ога
[23:00:47] xa4a: вот же ж. раз в неделю соберёшься что-то написать, так оно упадёт
[23:02:02] slav0nic: наверно уже пару япошек спрыгнуло с крыши из-за падения твиттера
[23:02:09] RaD@home is now online
[23:03:59] Александp is now xa
[23:04:22] RaD@home is now away
[23:04:23] RaD@home is now away
[23:04:57] erraen is now online
[23:05:49] denz is now online
[23:06:07] Effgen is now offline
[23:06:16] RaD@home is now online
[23:06:17] RaD@home is now online
[23:06:45] jedgar: о.0
[23:06:56] xa4a: уже встал
[23:07:06] jedgar: так вот зачем эти ДДосы
[23:07:09] RaD@home is now online
[23:09:38] xa4a: "так вот, что делает кнопка DDoS"
[23:09:57] erraen is now online
[23:12:09] RaD@home is now online
[23:14:58] erraen is now online
[23:15:02] red-agent is now away
[23:17:10] RaD@home is now online
[23:18:04] xa4a: есть кто-то, кто осилил в couchdb reduce functions?
[23:19:59] erraen is now online
[23:20:18] mdn is now offline
[23:20:38] red-agent is now online
[23:22:10] RaD@home is now online
[23:22:58] denz is now offline
[23:24:31] delpass is now online
[23:25:00] erraen is now online
[23:25:05] feedbot is now online
[23:25:07] feedbot: Python/Django web programmer needed. http://djangogigs.com/gigs/687/
[23:25:10] feedbot is now offline
[23:26:25] RaD@home is now away
[23:26:26] RaD@home is now away
[23:27:03] delpass is now offline
[23:27:11] RaD@home is now away
[23:27:31] slav0nic is now offline
[23:28:59] Александp is now online
[23:30:00] erraen is now online
[23:31:25] RaD@home is now online
[23:31:26] RaD@home is now online
[23:32:11] RaD@home is now online
[23:32:17] denplis is now online
[23:32:18] denplis is now online
[23:32:21] denplis is now online
[23:34:01] Александp is now away
[23:35:01] erraen is now online
[23:35:54] denplis is now online
[23:36:22] red-agent is now away
[23:37:11] RaD@home is now online
[23:39:00] red-agent is now online
[23:40:02] erraen is now online
[23:40:55] denplis is now online
[23:42:12] RaD@home is now online
[23:44:01] Александp is now xa
[23:45:02] erraen is now online
[23:45:56] denplis is now online
[23:47:12] RaD@home is now online
[23:47:33] mishok13 is now online
[23:50:03] erraen is now online
[23:50:57] denplis is now online
[23:52:13] RaD@home is now online
[23:52:28] red-agent is now away
[23:52:35] mishok13 is now away
[23:52:50] Portnov is now away
[23:52:52] Portnov is now online
[23:53:38] RaD@home is now away
[23:53:39] RaD@home is now away
[23:53:49] Мозгошредер is now offline
[23:55:03] erraen is now online
[23:55:58] denplis is now online
[23:56:20] red-agent is now online
[23:57:13] RaD@home is now away
[23:58:38] RaD@home is now online
[23:58:39] RaD@home is now online