[00:01:32] wonderfulll is now xa
[00:05:12] cutwater is now away
[00:05:16] cutwater is now online
[00:05:28] accessdenied5k is now xa
[00:06:33] wonderfulll is now xa
[00:08:13] Typhon is now offline
[00:11:33] wonderfulll is now xa
[00:15:06] Typhon is now online
[00:16:34] wonderfulll is now xa
[00:19:09] tilarids is now away
[00:21:35] wonderfulll is now xa
[00:26:36] wonderfulll is now xa
[00:26:42] tilarids is now online
[00:30:20] Typhon is now away
[00:30:44] Typhon is now online
[00:31:36] wonderfulll is now xa
[00:32:11] tilarids is now away
[00:34:05] cutwater is now away
[00:36:09] cutwater is now online
[00:36:36] wonderfulll is now xa
[00:41:07] Optik is now away
[00:41:11] cutwater is now away
[00:41:37] wonderfulll is now xa
[00:41:45] cutwater is now online
[00:42:11] tilarids is now xa
[00:43:27] Optik is now online
[00:43:34] Optik is now xa
[00:43:36] Optik is now xa
[00:46:37] wonderfulll is now xa
[00:48:13] accessdenied5k is now online
[00:51:37] wonderfulll is now xa
[00:53:18] tilarids is now online
[00:54:43] accessdenied5k is now offline
[00:56:39] wonderfulll is now xa
[00:58:01] PC is now offline
[00:58:22] tilarids is now away
[00:58:46] xa4a is now away
[01:00:05] cutwater is now away
[01:00:57] PC is now Аська сцуко глючит. Мой Jabber/GTalk: pc@jabber.gafol.net
[01:01:19] cutwater is now online
[01:01:34] PC is now offline
[01:01:39] wonderfulll is now xa
[01:01:58] PC is now Аська сцуко глючит. Мой Jabber/GTalk: pc@jabber.gafol.net
[01:05:20] cutwater is now offline
[01:06:39] wonderfulll is now xa
[01:07:11] delpass is now online
[01:07:15] xa4a is now online
[01:08:22] tilarids is now xa
[01:11:40] wonderfulll is now xa
[01:11:49] PC is now away
[01:12:32] delpass is now away
[01:16:41] wonderfulll is now xa
[01:21:41] wonderfulll is now xa
[01:22:33] lievil is now away
[01:22:34] delpass is now xa
[01:26:00] generatorglukoff: гм
[01:26:11] generatorglukoff: если BaseException.message deprecated
[01:26:18] generatorglukoff: то как мессагу получить?
[01:26:18] xa4a is now away
[01:26:41] wonderfulll is now xa
[01:26:52] PC is now offline
[01:28:32] lievil is now online
[01:29:42] cutwater is now online
[01:30:35] Typhon: except Exception as exc:
print exc
[01:30:46] Typhon: exc.args
[01:31:14] Effgen is now offline
[01:31:19] generatorglukoff: спсб
[01:31:24] Typhon: http://docs.python.org/tutorial/errors.html#handling-exceptions :)
[01:31:36] generatorglukoff: т.е. мессягу заменили на арги
[01:31:42] wonderfulll is now xa
[01:34:26] cutwater is now away
[01:34:28] lievil is now away
[01:34:40] cutwater is now online
[01:36:43] wonderfulll is now xa
[01:37:54] cutwater is now offline
[01:38:47] Александp is now offline
[01:38:48] Александp is now online
[01:41:44] wonderfulll is now xa
[01:41:56] accessdenied5k is now online
[01:43:25] Typhon is now offline
[01:44:28] lievil is now xa
[01:44:51] klichuk is now offline
[01:46:44] wonderfulll is now xa
[01:48:22] denplis is now online
[01:48:22] denplis is now online
[01:49:02] denplis is now online
[01:51:45] wonderfulll is now xa
[01:54:02] denplis is now online
[01:56:45] wonderfulll is now xa
[01:59:03] denplis is now online
[02:00:00] accessdenied5k is now offline
[02:01:48] wonderfulll is now xa
[02:01:55] denplis is now offline
[02:04:02] unk2k is now offline
[02:04:11] unk2k is now xa
[02:05:57] accessdenied5k is now online
[02:05:59] accessdenied5k is now offline
[02:06:52] wonderfulll is now xa
[02:08:48] Optik is now offline
[02:11:48] wonderfulll is now xa
[02:16:49] wonderfulll is now xa
[02:18:03] xa4a is now online
[02:18:30] xa4a is now away
[02:21:49] wonderfulll is now xa
[02:26:49] wonderfulll is now xa
[02:29:16] accessdenied5k is now online
[02:29:17] accessdenied5k is now offline
[02:31:49] wonderfulll is now xa
[02:33:48] accessdenied5k is now online
[02:33:50] accessdenied5k is now offline
[02:36:50] wonderfulll is now xa
[02:41:49] wonderfulll is now xa
[02:44:38] accessdenied5k is now online
[02:44:39] accessdenied5k is now offline
[02:46:50] wonderfulll is now xa
[02:51:51] wonderfulll is now xa
[02:56:51] wonderfulll is now xa
[03:01:53] wonderfulll is now xa
[03:06:53] wonderfulll is now xa
[03:11:53] wonderfulll is now xa
[03:11:54] generatorglukoff is now away
[03:12:18] accessdenied5k is now online
[03:12:19] accessdenied5k is now offline
[03:14:25] generatorglukoff is now online
[03:16:52] wonderfulll is now xa
[03:17:16] accessdenied5k is now online
[03:17:44] accessdenied5k is now offline
[03:21:53] wonderfulll is now xa
[03:26:53] wonderfulll is now xa
[03:31:55] wonderfulll is now xa
[03:36:55] wonderfulll is now xa
[03:37:45] generatorglukoff is now away
[03:41:55] wonderfulll is now xa
[03:46:56] wonderfulll is now xa
[03:48:36] Александp is now offline
[03:51:57] wonderfulll is now xa
[03:56:57] wonderfulll is now xa
[04:01:58] wonderfulll is now xa
[04:06:59] wonderfulll is now xa
[04:12:00] wonderfulll is now xa
[04:17:00] wonderfulll is now xa
[04:20:10] feedbot is now online
[04:20:12] feedbot: % formatting to str.format converter http://www.reddit.com/r/Python/comments/9qli0/formatting_to_strformat_converter/
[04:20:15] feedbot is now offline
[04:22:01] wonderfulll is now xa
[04:22:36] red-agent is now online
[04:27:00] wonderfulll is now xa
[04:31:26] red-agent is now away
[04:31:40] red-agent is now online
[04:32:01] wonderfulll is now xa
[04:37:01] wonderfulll is now xa
[04:42:01] wonderfulll is now xa
[04:42:58] red-agent is now away
[04:47:02] wonderfulll is now xa
[04:52:03] wonderfulll is now xa
[04:52:58] red-agent is now xa
[04:57:03] wonderfulll is now xa
[05:02:03] wonderfulll is now xa
[05:07:03] wonderfulll is now xa
[05:12:03] wonderfulll is now xa
[05:17:04] wonderfulll is now xa
[05:20:07] feedbot is now online
[05:20:09] feedbot: History of Django's popularity http://www.reddit.com/r/Python/comments/9qlq0/history_of_djangos_popularity/
Have been trying and failing to write a module in a faster language (c++, c, f77), please help. http://www.reddit.com/r/Python/comments/9qla0/have_been_trying_and_failing_to_write_a_module_in/
[05:20:12] feedbot is now offline
[05:22:05] wonderfulll is now xa
[05:27:05] wonderfulll is now xa
[05:32:04] wonderfulll is now xa
[05:37:05] wonderfulll is now xa
[05:42:06] wonderfulll is now xa
[05:47:06] wonderfulll is now xa
[05:52:05] wonderfulll is now xa
[05:57:05] wonderfulll is now xa
[06:02:05] wonderfulll is now xa
[06:07:05] wonderfulll is now xa
[06:12:06] wonderfulll is now xa
[06:17:06] wonderfulll is now xa
[06:22:06] wonderfulll is now xa
[06:27:06] wonderfulll is now xa
[06:32:06] wonderfulll is now xa
[06:37:05] wonderfulll is now xa
[06:42:06] wonderfulll is now xa
[06:47:07] wonderfulll is now xa
[06:52:08] wonderfulll is now xa
[06:57:07] wonderfulll is now xa
[07:02:08] wonderfulll is now xa
[07:07:08] wonderfulll is now xa
[07:12:09] wonderfulll is now xa
[07:13:35] Optik is now online
[07:13:37] Optik is now online
[07:17:09] wonderfulll is now xa
[07:22:10] wonderfulll is now xa
[07:27:10] wonderfulll is now xa
[07:32:11] wonderfulll is now xa
[07:37:10] wonderfulll is now xa
[07:42:10] wonderfulll is now xa
[07:43:14] sintetico is now Доступен
[07:47:10] wonderfulll is now xa
[07:52:10] wonderfulll is now xa
[07:57:01] slav0nic is now online
[07:57:09] wonderfulll is now xa
[08:02:09] wonderfulll is now xa
[08:07:09] wonderfulll is now xa
[08:12:10] wonderfulll is now xa
[08:17:09] wonderfulll is now xa
[08:20:15] Александp is now online
[08:22:08] wonderfulll is now xa
[08:24:13] Александp is now away
[08:27:08] wonderfulll is now xa
[08:28:50] slav0nic is now offline
[08:28:59] slav0nic is now online
[08:32:08] wonderfulll is now xa
[08:33:03] slav0nic is now offline
[08:33:24] slav0nic is now online
[08:34:13] Александp is now xa
[08:37:07] wonderfulll is now xa
[08:37:08] sintetico is now offline
[08:42:07] wonderfulll is now xa
[08:47:06] wonderfulll is now xa
[08:47:59] slav0nic is now offline
[08:48:12] slav0nic is now online
[08:52:07] wonderfulll is now xa
[08:52:33] GrimbleGromble is now online
[08:55:42] slav0nic is now offline
[08:57:07] wonderfulll is now xa
[08:57:40] GrimbleGromble is now away
[08:58:20] Александp is now offline
[09:02:07] wonderfulll is now xa
[09:03:43] Portnov is now online
[09:05:21] GrimbleGromble is now online
[09:07:07] wonderfulll is now xa
[09:07:59] mdn is now online
[09:12:07] wonderfulll is now xa
[09:17:06] wonderfulll is now xa
[09:21:38] red-agent is now online
[09:22:07] wonderfulll is now xa
[09:25:20] slav0nic is now online
[09:27:06] wonderfulll is now xa
[09:32:07] wonderfulll is now xa
[09:33:04] slav0nic is now offline
[09:33:21] slav0nic is now online
[09:37:07] wonderfulll is now xa
[09:40:36] pymonk is now online
[09:42:07] wonderfulll is now xa
[09:45:37] Большой Лис is now online
[09:46:01] Optik is now away
[09:46:02] Optik is now away
[09:46:36] Optik is now online
[09:47:07] wonderfulll is now xa
[09:48:05] slav0nic is now offline
[09:48:19] slav0nic is now online
[09:52:07] wonderfulll is now xa
[09:52:52] Portnov is now away
[09:52:53] Portnov is now away
[09:55:12] GrimbleGromble is now away
[09:55:13] Portnov is now away
[09:55:15] Portnov is now online
[09:56:54] Большой Лис is now away
[09:57:08] wonderfulll is now xa
[09:58:54] Effgen is now online
[09:58:54] Effgen is now offline
[10:00:21] Lolka is now online
[10:00:28] red-agent is now away
[10:02:09] wonderfulll is now xa
[10:02:22] GrimbleGromble is now online
[10:03:00] Большой Лис is now online
[10:03:51] slav0nic is now offline
[10:04:08] slav0nic is now online
[10:07:09] wonderfulll is now xa
[10:10:28] red-agent is now xa
[10:11:40] Александp is now xa
[10:12:09] wonderfulll is now xa
[10:14:12] red-agent is now online
[10:17:10] wonderfulll is now xa
[10:18:47] klichuk is now online
[10:19:50] slav0nic is now offline
[10:20:07] slav0nic is now online
[10:20:08] feedbot is now online
[10:20:09] slav0nic is now offline
[10:20:11] feedbot: Glashammer is a Python web framework with an emphasis on simplicity, flexibility, and extensibility. It is built atop excellent components and reinvents zero wheels. http://www.reddit.com/r/Python/comments/9qn89/glashammer_is_a_python_web_framework_with_an/
[10:20:13] feedbot is now offline
[10:20:23] slav0nic is now online
[10:21:17] delpass is now online
[10:22:10] wonderfulll is now xa
[10:22:21] klichuk is now offline
[10:22:46] Большой Лис: название стрёмное %)
[10:22:52] Большой Лис: хрупкое, какое-то
[10:27:02] GrimbleGromble is now away
[10:27:10] wonderfulll is now xa
[10:28:42] GrimbleGromble is now online
[10:30:54] Муркт is now online
[10:31:39] vermus.jabber is now chat
[10:31:40] vermus.jabber is now chat
[10:31:42] vermus.jabber is now chat
[10:32:11] Optik is now away
[10:32:12] wonderfulll is now xa
[10:32:49] vermus.jabber is now chat
[10:32:51] Optik is now online
[10:32:55] slav0nic is now offline
[10:33:10] slav0nic is now online
[10:33:10] slav0nic is now offline
[10:33:25] slav0nic is now online
[10:34:38] Большой Лис is now away
[10:35:51] Portnov is now away
[10:35:52] Portnov is now away
[10:36:06] Portnov is now away
[10:36:07] Portnov is now online
[10:36:46] vermus.jabber is now offline
[10:37:11] wonderfulll is now xa
[10:39:23] Optik is now offline
[10:39:26] Optik is now online
[10:39:35] Большой Лис is now online
[10:42:10] wonderfulll is now xa
[10:44:48] delpass is now away
[10:47:02] delpass is now online
[10:47:11] wonderfulll is now xa
[10:52:12] wonderfulll is now xa
[10:54:59] unk2k is now offline
[10:55:11] unk2k is now xa
[10:55:46] Большой Лис is now offline
[10:57:12] wonderfulll is now xa
[10:58:07] Lolka is now away
[10:58:16] Lolka is now online
[10:58:32] delpass is now away
[11:01:10] pymonk is now offline
[11:02:13] wonderfulll is now xa
[11:02:49] slav0nic is now offline
[11:03:04] slav0nic is now online
[11:03:04] slav0nic is now offline
[11:03:11] Optik is now away
[11:03:13] Optik is now away
[11:03:19] slav0nic is now online
[11:03:25] slav0nic is now offline
[11:03:51] Optik is now online
[11:06:05] sintetico is now Доступен
[11:07:14] wonderfulll is now xa
[11:08:32] delpass is now xa
[11:08:53] GrimbleGromble is now away
[11:09:03] GrimbleGromble is now online
[11:12:14] wonderfulll is now xa
[11:15:19] jedgar is now online
[11:17:16] wonderfulll is now xa
[11:19:24] GrimbleGromble is now away
[11:20:08] feedbot is now online
[11:20:10] feedbot: pep8 is a tool to check your Python code against some of the style conventions in PEP 8 http://www.reddit.com/r/Python/comments/9qng9/pep8_is_a_tool_to_check_your_python_code_against/
[11:20:13] feedbot is now offline
[11:22:16] wonderfulll is now xa
[11:24:56] Optik is now away
[11:27:16] wonderfulll is now xa
[11:28:00] tilarids is now online
[11:29:24] GrimbleGromble is now xa
[11:32:16] wonderfulll is now xa
[11:32:28] ыапэ is now я тут
[11:32:29] ыапэ is now я тут
[11:33:08] tilarids is now away
[11:33:14] GrimbleGromble is now online
[11:33:34] delpass is now online
[11:34:11] slav0nic is now online
[11:34:41] Optik is now online
[11:35:26] mdn is now offline
[11:36:22] ыапэ is now away
[11:37:16] wonderfulll is now xa
[11:37:19] gabbazomba is now online
[11:37:34] gabbazomba is now offline
[11:38:34] delpass is now away
[11:39:28] slav0nic is now away
[11:40:11] Optik is now away
[11:40:41] gigimon is now offline
[11:40:42] gigimon is now online
[11:40:43] gigimon is now online
[11:41:24] GrimbleGromble is now away
[11:41:42] jedgar is now away
[11:41:51] ыапэ is now я тут
[11:42:17] wonderfulll is now xa
[11:43:08] tilarids is now xa
[11:43:12] red-agent is now away
[11:44:24] GrimbleGromble is now online
[11:44:50] tilarids is now online
[11:46:37] Александp is now offline
[11:46:38] Александp is now online
[11:47:18] wonderfulll is now xa
[11:47:47] Typhon is now online
[11:47:57] ыапэ is now away
[11:48:08] slav0nic is now offline
[11:48:23] slav0nic is now away
[11:48:31] Optik is now online
[11:48:34] delpass is now xa
[11:49:28] slav0nic is now xa
[11:50:00] delpass is now online
[11:50:07] red-agent is now online
[11:52:18] wonderfulll is now xa
[11:52:43] slav0nic is now online
[11:54:12] tilarids is now away
[11:55:02] tilarids is now online
[11:57:19] wonderfulll is now xa
[11:57:56] slav0nic is now away
[11:58:55] jedgar is now online
[12:02:12] sintetico is now away
[12:02:19] wonderfulll is now xa
[12:03:35] slav0nic is now offline
[12:03:52] slav0nic is now away
[12:04:47] Муркт is now offline
[12:04:47] Муркт is now online
[12:05:57] ыапэ is now xa
[12:05:58] ыапэ is now xa
[12:07:20] wonderfulll is now xa
[12:07:49] Typhon is now away
[12:07:56] slav0nic is now xa
[12:08:12] delpass is now away
[12:10:28] огыешсук is now dnd
[12:10:33] lievil is now online
[12:10:57] Portnov is now away
[12:10:59] Portnov is now away
[12:11:21] Typhon is now online
[12:12:11] sintetico is now xa
[12:12:20] wonderfulll is now xa
[12:12:45] Portnov is now away
[12:12:46] Portnov is now online
[12:17:17] kwis is now online
[12:17:20] wonderfulll is now xa
[12:17:44] jedgar is now offline
[12:17:46] jedgar is now online
[12:18:03] Typhon is now away
[12:18:12] delpass is now xa
[12:18:34] slav0nic is now offline
[12:18:45] slav0nic is now xa
[12:19:00] Александp: пытаюсь тут осилить как в jinja расширения делаются
Хочу сделать тег
{% media 'css/dzone.css', 'timestamp, absolute' %}
вобщем как достать параметры вторые?
[12:19:37] ыапэ is now away
[12:20:05] kwis: Привет товарисчи. Вот сидел мучался заводил новый проект. Уже начинает подкумаривать одна проблемка. Постоянно сталкиваюсь с проблемой подключения статики к новому проекту на локальной машине. Может у вас есть какие-нибуть советы или готовые решения для того чтобы в два клика завести проект, стартап, и чтобы уже была подключена статика и прочее
[12:21:39] Александp: kwis, для nginx
location /media {
root $www_root;
}
location /static {
root $www_root;
}
[12:22:02] огыешсук is now offline
[12:22:20] wonderfulll is now xa
[12:23:21] kwis: Александp, хочу разоворачивать на встроенном сервере джанги
[12:23:56] Portnov is now away
[12:23:57] Portnov is now away
[12:23:58] Александp: kwis, для отладки или нет?
[12:24:05] kwis: Александp, да
[12:24:30] kwis: Александp, тоесть я разрабатываю проект на джанго-сервере
[12:24:32] Александp: if settings.DEBUG:
urlpatterns += patterns('',
(r'^media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': join(settings.PROJECT_ROOT, 'media')}),
(r'^static/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': join(settings.PROJECT_ROOT, 'static')}),
)
[12:24:56] Portnov is now away
[12:24:57] Portnov is now online
[12:25:08] Александp: from os.path import join
[12:26:44] kwis: Александp, я решал немножко не так:
if settings.DEBUG:
urlpatterns += patterns('',
(r'^путь_к_медиа/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/путь_к_медиа'}),
)
[12:27:20] tilarids is now away
[12:27:21] wonderfulll is now xa
[12:28:04] Typhon is now xa
[12:28:06] Optik is now away
[12:28:15] kwis: вопчем надо будет поколупаться и сделать стандартную заготовку...
[12:29:05] GrimbleGromble is now away
[12:29:51] Александp is now offline
[12:29:52] Александp is now online
[12:30:05] Александp is now offline
[12:30:32] Александp is now online
[12:32:16] Portnov is now away
[12:32:17] Portnov is now away
[12:32:21] wonderfulll is now xa
[12:33:10] Typhon is now online
[12:33:31] slav0nic is now offline
[12:33:40] Portnov is now away
[12:33:41] Portnov is now online
[12:33:46] slav0nic is now xa
[12:33:47] slav0nic is now offline
[12:34:01] slav0nic is now xa
[12:36:24] tilarids is now online
[12:37:21] wonderfulll is now xa
[12:39:06] GrimbleGromble is now xa
[12:39:30] kwis: подскажите еще одну штучку пожалуйста, как в шаблоне:
<link rel="stylesheet" type="text/css" media="screen" href="/путь_к_media/main.css" />
зменить путь_к_media чтобы его не указывать
[12:42:22] wonderfulll is now xa
[12:42:50] Typhon is now offline
[12:43:02] Александp: подскажите какого вида expression принимает jinja2.lexer.Token.test?
что представляет token type и token value?
[12:43:12] delpass is now online
[12:44:06] GrimbleGromble is now online
[12:46:48] klichuk is now online
[12:47:21] wonderfulll is now xa
[12:48:06] Optik is now xa
[12:48:07] Optik is now xa
[12:48:27] slav0nic is now offline
[12:48:43] slav0nic is now xa
[12:48:51] Optik is now online
[12:49:00] Муркт: http://www.tuxradar.com/content/make-python-game-minutes-gloss хаха
[12:49:06] GrimbleGromble is now away
[12:49:10] Муркт: tutorial done wrong
[12:49:15] lievil is now away
[12:49:18] Муркт: --self.CreateDelay;
[12:49:52] ыапэ is now я тут
[12:50:19] Муркт: одна строка: таб вместо пробелов, точка с запятой, КамелКейс, и, самое главное - префиксный декремент, бугага!
[12:50:33] Муркт: Который на самом деле не декремент, а двойной унарный минус, который делает ничего
[12:52:10] red-agent:
--self.CreateDelay;
++self.TargetSpeed;
++self.NumTargets;
[12:52:13] red-agent: Эпично
[12:52:18] tilarids is now away
[12:52:22] wonderfulll is now xa
[12:52:31] Муркт: я ж говорю
[12:52:43] red-agent: Муркт, Отпости коммент.
[12:53:14] Муркт: анонимусом?
[12:53:35] red-agent:
self.Targets.remove(target);
continue;
[12:53:37] red-agent: Хаха
[12:53:47] red-agent: Муркт, Заценил семиколон в конце?
[12:53:49] red-agent: :D
[12:54:01] Муркт: ну там везде точки с запятой стоят
[12:54:56] xa4a: это печально
[12:55:03] lievil is now online
[12:55:06] xa4a is now online
[12:57:22] kwis: Ребята, в шаблоне пишу:
<link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}main.css" />
в сетингах написано: MEDIA_URL = '/путь_к_media/'
а в работающей страничке получается:
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
что может быть не так???
[12:57:23] wonderfulll is now xa
[12:58:04] klichuk: а что не так?
[12:58:27] klichuk: хз даже какая проблема, но я бы писал {{MEDIA_URL}}/main.css, не {{MEDIA_URL}}main.css
[12:58:45] klichuk: и кажется что '/путь_к_media'
[12:59:06] GrimbleGromble is now xa
[12:59:19] red-agent: Муркт, Я отпостил
[12:59:22] red-agent: Под анонимусом.
[12:59:26] Муркт: red-agent: я тоже
[12:59:33] kwis: klichuk, не помогло...
[12:59:56] klichuk: ну а что получается?
[13:00:06] kwis: не подгружается цсск
[13:00:13] kwis: цсска*
[13:00:29] klichuk: что получилось в аттрибуте href, я спришиваю
[13:00:30] Муркт: red-agent: синхронно пошти обосрали товагища
[13:00:38] red-agent: Ага.
[13:00:54] xa4a: kwis: django.context_processors.media
[13:00:56] GrimbleGromble is now online
[13:01:20] jedgar is now away
[13:01:46] xa4a: Python does not have neither prefix nor postfix decrement/increment operators
[13:01:54] xa4a: Your knowledge of English sucks.
[13:02:02] Александp: kwis, http://softwaremaniacs.org/blog/2009/03/22/media-tag/
[13:02:02] xa4a: Python has neither ..
[13:02:18] tilarids is now xa
[13:02:22] wonderfulll is now xa
[13:02:28] kwis: Александp, спасибо, читаю...
[13:02:42] tilarids is now online
[13:03:23] slav0nic is now offline
[13:03:41] slav0nic is now xa
[13:04:08] Муркт: xa4a: а мой коммент нормальный? =)
[13:04:30] GrimbleGromble: kwis, return render_to_response('bla.html', {}, request_instance=RequestContext(requesst))
[13:04:58] GrimbleGromble: context_instance
[13:05:43] ыапэ is now away
[13:05:57] xa4a: Муркт: смысл ясен)
[13:06:06] Муркт: ну смысл и у ред-агента ясен
[13:06:13] red-agent: xa4a, Ну там изначально было "Python does not have prefix decrement/increment", а потом я уже поправил, что и postfix собственно тоже. Так-что механические не в счет.
[13:06:31] Александp is now away
[13:06:32] Александp is now online
[13:07:23] wonderfulll is now xa
[13:07:32] ыапэ is now я тут
[13:07:44] tilarids is now away
[13:08:35] Portnov is now away
[13:08:36] Portnov is now away
[13:09:40] tilarids is now online
[13:11:30] Александp is now away
[13:12:23] wonderfulll is now xa
[13:13:09] v-kolosov is now xa
[13:13:10] v-kolosov is now offline
[13:14:42] slav0nic is now online
[13:15:34] ыапэ is now offline
[13:16:31] ыапэ is now я тут
[13:16:34] ыапэ is now я тут
[13:17:23] wonderfulll is now xa
[13:21:30] Александp is now xa
[13:22:06] GrimbleGromble is now away
[13:22:23] Portnov is now away
[13:22:24] Portnov is now online
[13:22:26] wonderfulll is now xa
[13:22:29] red-agent is now away
[13:23:11] delpass is now away
[13:23:12] delpass is now online
[13:23:51] ыапэ is now offline
[13:23:52] ыапэ is now я тут
[13:23:54] ыапэ is now я тут
[13:25:46] Александp is now offline
[13:26:00] Александp is now xa
[13:26:20] ыапэ is now я тут
[13:26:21] ыапэ is now я тут
[13:26:41] ыапэ is now я тут
[13:26:43] ыапэ is now я тут
[13:26:46] GrimbleGromble is now online
[13:27:04] ыапэ is now я тут
[13:27:06] ыапэ is now я тут
[13:27:09] sintetico is now Доступен
[13:27:24] wonderfulll is now xa
[13:31:26] ыапэ is now away
[13:31:28] ыапэ is now away
[13:31:46] klichuk is now xa
[13:32:09] sintetico is now away
[13:32:24] wonderfulll is now xa
[13:32:29] red-agent is now xa
[13:33:08] slav0nic is now offline
[13:33:14] slav0nic is now online
[13:34:58] slav0nic is now offline
[13:36:32] Александp is now online
[13:37:24] wonderfulll is now xa
[13:37:37] GrimbleGromble is now away
[13:39:58] delpass is now offline
[13:40:37] GrimbleGromble is now online
[13:41:32] Александp is now away
[13:42:10] sintetico is now xa
[13:42:25] wonderfulll is now xa
[13:42:41] slav0nic is now online
[13:47:25] wonderfulll is now xa
[13:49:02] slav0nic is now offline
[13:49:08] lievil is now away
[13:49:13] slav0nic is now online
[13:49:26] ыапэ is now xa
[13:49:28] ыапэ is now xa
[13:51:24] kwis: ребята, еще хочу спросить. Используете ли вы в адресах URL русские символы? Просто хочется отказаться от полей в админке типо "slug" или томуподобным...
[13:51:30] slav0nic is now away
[13:51:32] Александp is now xa
[13:51:38] slav0nic is now online
[13:52:25] wonderfulll is now xa
[13:57:26] wonderfulll is now xa
[13:58:02] kwis: пока радует вот это: http://www.codeisart.ru/%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B5-%D0%B1%D1%83%D0%BA%D0%B2%D1%8B-%D0%B2-url-google-%D0%B8-yandex/
[13:58:47] GrimbleGromble is now away
[13:59:08] lievil is now xa
[13:59:38] Lolka is now away
[13:59:51] slav0nic: pytils возьми
[13:59:56] sintetico is now Доступен
[14:00:18] slav0nic: это в плане красоты, а в плане сео, да рус лучше
[14:01:26] mdn is now online
[14:01:27] mdn is now online
[14:02:12] Portnov is now away
[14:02:14] Portnov is now away
[14:02:27] wonderfulll is now xa
[14:02:45] Lolka is now online
[14:03:07] GrimbleGromble is now online
[14:03:27] slav0nic is now offline
[14:03:40] slav0nic is now online
[14:05:20] slav0nic is now offline
[14:05:53] slav0nic is now away
[14:06:02] Portnov is now away
[14:06:03] Portnov is now online
[14:07:26] wonderfulll is now xa
[14:08:04] kwis: slav0nic, спасибо за совет, кульная штучка. Просто я интересовался не наткнутся ли пользователи какихто пятых ишаков на проблему с русскими ссылками, может какие ошибки могут возникнуть?
[14:09:38] lievil is now online
[14:12:27] wonderfulll is now xa
[14:12:52] Lolka is now away
[14:14:05] tilarids: а расскажите, можно как-нибудь сделать так, чтоб в админке RelatedFieldWidgetWrapper не для всех полей прописывался?
[14:14:24] tilarids: т.е., я хочу иметь возможность убирать кнопку Add New для определенных виджетов
[14:15:21] Lolka is now online
[14:15:33] red-agent is now online
[14:15:48] slav0nic is now xa
[14:16:51] pymonk is now online
[14:17:29] wonderfulll is now xa
[14:17:55] Effgen is now online
[14:17:55] Effgen is now offline
[14:18:25] tilarids: дурная админка :(
[14:22:30] wonderfulll is now xa
[14:22:39] Effgen is now online
[14:27:30] wonderfulll is now xa
[14:32:30] wonderfulll is now xa
[14:34:04] slav0nic is now online
[14:35:11] slav0nic is now offline
[14:35:33] slav0nic is now online
[14:35:43] slav0nic is now offline
[14:36:05] slav0nic is now online
[14:36:16] slav0nic: tilarids, http://stackoverflow.com/questions/1217901/remove-the-add-functionality-in-django-admin
[14:36:33] Александp is now online
[14:37:30] wonderfulll is now xa
[14:40:14] cutwater is now online
[14:41:26] slav0nic is now away
[14:41:33] Александp is now away
[14:42:30] slav0nic is now online
[14:42:31] wonderfulll is now xa
[14:43:00] slav0nic is now offline
[14:44:13] tilarids: slav0nic: совсем не то. Мне банально нужно убрать дефолтное тупое поведение админки :(
[14:45:12] Lolka is now offline
[14:47:01] kwis is now away
[14:47:27] cutwater is now away
[14:47:32] wonderfulll is now xa
[14:47:43] kwis is now online
[14:49:08] cutwater is now online
[14:51:26] lievil is now away
[14:51:33] Александp is now xa
[14:51:34] generatorglukoff is now offline
[14:52:10] lievil is now online
[14:52:33] wonderfulll is now xa
[14:56:50] unk2k is now offline
[14:57:12] xa4a is now away
[14:57:20] indieman is now я - перпендикуляр!!!
[14:57:21] indieman is now я - перпендикуляр!!!
[14:57:34] wonderfulll is now xa
[14:59:00] indieman is now я - перпендикуляр!!!
[15:02:35] wonderfulll is now xa
[15:03:13] cutwater is now offline
[15:04:00] indieman is now я - перпендикуляр!!!
[15:04:19] Portnov is now away
[15:04:21] Portnov is now away
[15:05:49] Portnov is now away
[15:05:50] Portnov is now online
[15:07:36] wonderfulll is now xa
[15:09:01] indieman is now я - перпендикуляр!!!
[15:12:22] Effgen is now away
[15:12:36] wonderfulll is now xa
[15:14:01] indieman is now я - перпендикуляр!!!
[15:15:11] xa4a is now online
[15:17:19] GrimbleGromble is now away
[15:17:24] Effgen is now online
[15:17:36] wonderfulll is now xa
[15:17:53] lievil is now away
[15:18:35] lievil is now online
[15:19:02] indieman is now я - перпендикуляр!!!
[15:19:52] Portnov is now away
[15:19:53] Portnov is now away
[15:20:59] GrimbleGromble is now online
[15:22:37] wonderfulll is now xa
[15:24:02] indieman is now я - перпендикуляр!!!
[15:25:16] Effgen is now away
[15:26:01] Portnov is now away
[15:26:02] Portnov is now online
[15:27:38] wonderfulll is now xa
[15:29:03] indieman is now я - перпендикуляр!!!
[15:29:29] GrimbleGromble is now away
[15:31:30] sintetico is now away
[15:32:38] wonderfulll is now xa
[15:34:03] indieman is now я - перпендикуляр!!!
[15:35:16] Effgen is now xa
[15:35:31] mdn is now offline
[15:37:00] generatorglukoff is now away
[15:37:19] GrimbleGromble is now online
[15:37:39] wonderfulll is now xa
[15:39:03] indieman is now я - перпендикуляр!!!
[15:41:31] sintetico is now xa
[15:41:51] Optik is now away
[15:42:40] wonderfulll is now xa
[15:43:12] generatorglukoff is now online
[15:44:04] indieman is now я - перпендикуляр!!!
[15:45:11] Optik is now online
[15:47:40] wonderfulll is now xa
[15:48:43] Portnov is now away
[15:48:44] Portnov is now away
[15:49:05] indieman is now я - перпендикуляр!!!
[15:49:55] Portnov is now away
[15:49:56] Portnov is now online
[15:50:13] red-agent is now away
[15:50:52] Мозгошредер is now away
[15:52:41] wonderfulll is now xa
[15:53:16] Portnov is now away
[15:53:17] Portnov is now away
[15:53:43] Portnov is now away
[15:53:44] Portnov is now online
[15:54:05] indieman is now я - перпендикуляр!!!
[15:55:38] generatorglukoff is now offline
[15:57:41] wonderfulll is now xa
[15:59:05] indieman is now я - перпендикуляр!!!
[15:59:47] Portnov is now away
[15:59:48] Portnov is now away
[16:00:13] red-agent is now xa
[16:01:47] Portnov is now away
[16:01:48] Portnov is now online
[16:02:11] red-agent is now online
[16:02:42] wonderfulll is now xa
[16:04:05] indieman is now я - перпендикуляр!!!
[16:04:49] Portnov is now away
[16:04:50] Portnov is now away
[16:06:49] Portnov is now away
[16:06:50] Portnov is now online
[16:07:42] wonderfulll is now xa
[16:09:06] indieman is now я - перпендикуляр!!!
[16:11:25] mdn is now online
[16:11:33] indieman is now away
[16:11:34] indieman is now away
[16:12:43] wonderfulll is now xa
[16:14:06] indieman is now away
[16:14:36] indieman is now я - перпендикуляр!!!
[16:14:37] indieman is now я - перпендикуляр!!!
[16:15:24] kwis is now away
[16:17:43] wonderfulll is now xa
[16:18:23] iraqez is now Паранойю у админов лечить нельзя, надо лишь следить, чтобы развивалась в нужном направлении
[16:19:07] indieman is now я - перпендикуляр!!!
[16:19:21] kwis is now online
[16:20:12] feedbot is now online
[16:20:13] feedbot: Debugging in Python http://www.reddit.com/r/Python/comments/9qohg/debugging_in_python/
[16:20:17] feedbot is now offline
[16:22:45] wonderfulll is now xa
[16:24:07] indieman is now я - перпендикуляр!!!
[16:27:12] erraen is now online
[16:27:13] erraen is now online
[16:27:15] erraen is now online
[16:27:22] xa4a_ is now online
[16:27:39] iraqez is now Паранойю у админов лечить нельзя, надо лишь следить, чтобы развивалась в нужном направлении
[16:27:40] xa4a_ is now offline
[16:27:46] wonderfulll is now xa
[16:27:49] klichuk is now offline
[16:29:00] erraen is now online
[16:29:08] indieman is now я - перпендикуляр!!!
[16:29:50] xa4a is now offline
[16:30:24] jedgar is now offline
[16:30:25] jedgar is now away
[16:30:53] tilarids is now away
[16:32:07] Portnov is now away
[16:32:08] Portnov is now away
[16:32:19] iraqez: Всем привет, на python, да и в програмировании вообще, очень недавно, извините, если детский вопрос, но, возникла проблема, когда решил написать чего то небольшое, используя примеры из нета. Задача стояла такая, есть dbfник, в кодировке cp866, перекодировать его в utf-8 и уже из него делать необходимые выборки. Так вот, после подключения dbfника с помощью dbfpy все нормально, а вот если хочу сделать что то вроде print db[2], выдает кучу ошибок, если то же делать с dbf в какой то более коректной кодировке, то проблем вроде нету, хотя, может еще и проблема в полях...
[16:32:21] Effgen is now online
[16:32:46] wonderfulll is now xa
[16:33:41] red-agent is now away
[16:34:00] erraen is now online
[16:34:08] indieman is now я - перпендикуляр!!!
[16:34:31] Portnov is now away
[16:34:32] Portnov is now online
[16:35:35] iraqez: ошибки, вот такого плана
[16:35:51] red-agent is now online
[16:35:57] iraqez: >>> print db[2]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/dbfpy/dbf.py", line 242, in __getitem__
return self.RecordClass.fromStream(self, self._fixIndex(index))
File "/usr/lib/python2.5/site-packages/dbfpy/record.py", line 121, in fromStream
return cls.fromString(dbf, cls.rawFromStream(dbf, index), index)
File "/usr/lib/python2.5/site-packages/dbfpy/record.py", line 140, in fromString
[_fd.decodeFromRecord(string) for _fd in dbf.header.fields])
File "/usr/lib/python2.5/site-packages/dbfpy/fields.py", line 173, in decodeFromRecord
return self.decodeValue(self.rawFromRecord(record))
File "/usr/lib/python2.5/site-packages/dbfpy/fields.py", line 342, in decodeValue
raise NotImplementedError
NotImplementedError
[16:37:46] wonderfulll is now xa
[16:39:00] erraen is now online
[16:39:09] indieman is now я - перпендикуляр!!!
[16:40:53] tilarids is now xa
[16:41:57] tilarids is now online
[16:42:42] kwis: ребята подскажите пожалуйста как сравнивать в шаблонах переменные, надо что-то типа такого:
{% if {{i.catalog_name}}_is_{{catalog_url}} %}
<p>yes</p>
{{endif}}
[16:42:43] klichuk is now online
[16:42:46] wonderfulll is now xa
[16:44:01] erraen is now online
[16:44:09] indieman is now я - перпендикуляр!!!
[16:44:28] iraqez is now offline
[16:45:19] xa4a is now online
[16:45:21] xa4a is now offline
[16:45:30] red-agent: kwis, ifequal
[16:45:34] red-agent: Документацию читать нужно
[16:45:39] red-agent: http://docs.djangoproject.com/en/dev/ref/templates/builtins/
[16:46:21] kwis: red-agent, ага, точно, спасибо, туплю...
[16:47:02] iraqez is now Паранойю у админов лечить нельзя, надо лишь следить, чтобы развивалась в нужном направлении
[16:47:41] iraqez is now offline
[16:47:47] wonderfulll is now xa
[16:49:01] erraen is now online
[16:49:10] indieman is now я - перпендикуляр!!!
[16:52:47] wonderfulll is now xa
[16:52:53] Ляпатяпа is now online
[16:54:01] erraen is now online
[16:54:10] indieman is now я - перпендикуляр!!!
[16:54:34] iraqez is now Паранойю у админов лечить нельзя, надо лишь следить, чтобы развивалась в нужном направлении
[16:56:30] sintetico is now Доступен
[16:57:15] iraqez is now offline
[16:57:48] wonderfulll is now xa
[16:59:02] erraen is now online
[16:59:11] indieman is now я - перпендикуляр!!!
[17:01:30] sintetico is now away
[17:02:49] wonderfulll is now xa
[17:04:02] erraen is now online
[17:04:11] indieman is now я - перпендикуляр!!!
[17:07:49] wonderfulll is now xa
[17:07:49] kwis is now offline
[17:07:55] kwis is now online
[17:08:16] alexey1993 is now Да, я здесь.
[17:08:36] Optik is now away
[17:08:43] alexey1993 is now offline
[17:09:03] erraen is now online
[17:09:11] indieman is now я - перпендикуляр!!!
[17:11:30] sintetico is now xa
[17:12:50] wonderfulll is now xa
[17:14:03] erraen is now online
[17:14:12] indieman is now я - перпендикуляр!!!
[17:17:50] wonderfulll is now xa
[17:18:45] tilarids is now away
[17:19:03] erraen is now online
[17:19:13] indieman is now я - перпендикуляр!!!
[17:20:02] alexey1993 is now Да, я здесь.
[17:20:07] alexey1993 is now offline
[17:20:53] alexey1993 is now Да, я здесь.
[17:20:57] alexey1993 is now offline
[17:22:47] kwis is now offline
[17:22:51] wonderfulll is now xa
[17:23:12] GrimbleGromble is now away
[17:23:13] kwis is now online
[17:24:03] erraen is now online
[17:24:13] indieman is now я - перпендикуляр!!!
[17:27:51] wonderfulll is now xa
[17:28:17] Optik is now offline
[17:28:42] mdn is now offline
[17:28:45] tilarids is now xa
[17:28:57] klichuk is now offline
[17:29:04] erraen is now online
[17:29:13] indieman is now я - перпендикуляр!!!
[17:32:51] wonderfulll is now xa
[17:33:02] GrimbleGromble is now xa
[17:34:04] erraen is now online
[17:34:14] indieman is now я - перпендикуляр!!!
[17:37:51] wonderfulll is now xa
[17:38:02] GrimbleGromble is now online
[17:38:05] Portnov is now offline
[17:39:03] erraen is now online
[17:39:14] indieman is now я - перпендикуляр!!!
[17:39:57] Мозгошредер is now Вероятность получения Вами цензурного и корректного ответа зависит от тупости Вашего вопроса обратно пропорционально
[17:42:51] wonderfulll is now xa
[17:43:02] GrimbleGromble is now away
[17:44:04] erraen is now online
[17:44:15] indieman is now я - перпендикуляр!!!
[17:45:12] GrimbleGromble is now online
[17:47:52] wonderfulll is now xa
[17:49:05] erraen is now online
[17:49:16] indieman is now я - перпендикуляр!!!
[17:51:03] jedgar is now offline
[17:51:04] jedgar is now away
[17:52:53] wonderfulll is now xa
[17:54:06] erraen is now online
[17:54:16] indieman is now я - перпендикуляр!!!
[17:56:06] Мозгошредер is now away
[17:57:54] wonderfulll is now xa
[17:58:18] indieman is now away
[17:58:19] indieman is now away
[17:58:39] indieman is now я - перпендикуляр!!!
[17:58:40] indieman is now я - перпендикуляр!!!
[17:59:07] erraen is now online
[17:59:15] kwis: еще один теоритический вопрос - можно ли с админки выкинуть такую штучку как "Sites"???
[17:59:16] indieman is now я - перпендикуляр!!!
[17:59:22] kwis: но работать оно должно
[17:59:39] kwis: тоесть я его пользовать буду но редактировать нет
[18:02:00] Ляпатяпа: unregister наверно
[18:02:54] wonderfulll is now xa
[18:04:07] erraen is now online
[18:04:16] indieman is now я - перпендикуляр!!!
[18:06:05] bobry: вот почему .join() метод строки а не метод списка?
[18:06:09] bobry: как то не логично получается
[18:07:54] wonderfulll is now xa
[18:08:34] kwis is now offline
[18:08:35] kwis is now online
[18:09:08] erraen is now online
[18:09:17] indieman is now я - перпендикуляр!!!
[18:12:55] wonderfulll is now xa
[18:13:01] Муркт is now online
[18:14:09] erraen is now online
[18:14:18] indieman is now я - перпендикуляр!!!
[18:17:55] wonderfulll is now xa
[18:19:08] erraen is now online
[18:19:18] indieman is now я - перпендикуляр!!!
[18:22:56] wonderfulll is now xa
[18:24:08] erraen is now online
[18:24:19] indieman is now я - перпендикуляр!!!
[18:24:27] kwis is now offline
[18:24:38] kwis is now online
[18:27:57] wonderfulll is now xa
[18:29:09] erraen is now online
[18:29:19] indieman is now я - перпендикуляр!!!
[18:29:59] kwis is now away
[18:30:17] Ляпатяпа is now xa
[18:31:27] kwis is now online
[18:32:19] red-agent is now away
[18:32:43] red-agent is now online
[18:32:58] wonderfulll is now xa
[18:33:31] jedgar is now online
[18:33:36] Александp is now online
[18:34:09] erraen is now online
[18:34:20] indieman is now я - перпендикуляр!!!
[18:35:01] Optik is now online
[18:35:26] Большой Лис is now online
[18:36:03] sevenov is now online
[18:37:37] indieman is now away
[18:37:38] indieman is now away
[18:37:58] wonderfulll is now xa
[18:39:10] erraen is now online
[18:39:20] indieman is now away
[18:41:11] Optik is now away
[18:41:43] Александp is now offline
[18:41:44] indieman is now я - перпендикуляр!!!
[18:41:46] Александp is now online
[18:42:58] wonderfulll is now xa
[18:43:14] Александp is now offline
[18:43:16] Александp is now online
[18:43:31] Александp_ is now online
[18:44:07] sintetico is now Доступен
[18:44:11] erraen is now online
[18:44:21] indieman is now я - перпендикуляр!!!
[18:47:58] wonderfulll is now xa
[18:48:07] sintetico is now offline
[18:48:45] Александp is now away
[18:48:53] Александp is now online
[18:49:11] erraen is now online
[18:49:11] Александp is now offline
[18:49:22] indieman is now я - перпендикуляр!!!
[18:52:44] GrimbleGromble is now away
[18:52:59] wonderfulll is now xa
[18:54:13] erraen is now online
[18:54:23] indieman is now я - перпендикуляр!!!
[18:54:24] Александp is now online
[18:54:25] GrimbleGromble is now online
[18:54:39] Александp is now offline
[18:54:51] Александp is now online
[18:55:28] Александp is now away
[18:55:28] Александp is now online
[18:56:14] Александp is now offline
[18:56:52] lievil is now away
[18:57:58] wonderfulll is now xa
[18:59:13] erraen is now online
[18:59:23] indieman is now я - перпендикуляр!!!
[19:01:11] Optik is now xa
[19:01:20] sevenov is now away
[19:02:44] lievil is now online
[19:02:59] wonderfulll is now xa
[19:04:14] erraen is now online
[19:04:23] indieman is now я - перпендикуляр!!!
[19:08:00] wonderfulll is now xa
[19:09:15] erraen is now online
[19:09:23] indieman is now я - перпендикуляр!!!
[19:09:56] jedgar is now away
[19:11:16] sevenov is now online
[19:12:19] indieman is now offline
[19:13:00] wonderfulll is now xa
[19:14:15] erraen is now online
[19:17:01] tilarids is now online
[19:18:01] wonderfulll is now xa
[19:18:01] jedgar is now online
[19:19:14] erraen is now online
[19:20:09] feedbot is now online
[19:20:11] feedbot: PyBrain -- the Python Machine Learning Library http://www.reddit.com/r/Python/comments/9qpwt/pybrain_the_python_machine_learning_library/
[19:20:14] feedbot is now offline
[19:21:16] sevenov is now away
[19:23:01] wonderfulll is now xa
[19:23:02] Ляпатяпа is now online
[19:24:14] erraen is now online
[19:25:16] Optik is now online
[19:25:25] GrimbleGromble is now away
[19:25:44] Effgen is now away
[19:27:45] GrimbleGromble is now online
[19:28:01] jedgar is now away
[19:28:03] wonderfulll is now xa
[19:29:15] erraen is now online
[19:30:01] tilarids is now away
[19:33:03] wonderfulll is now xa
[19:34:15] erraen is now online
[19:34:46] sevenov is now online
[19:37:27] Effgen is now online
[19:38:04] wonderfulll is now xa
[19:38:08] nicckk is now dnd
[19:39:11] kwis: люди, что это за ошибка "unbalanced parenthesis"?
[19:39:16] erraen is now online
[19:39:35] bobry: kwis: скобки в регулярке не закрыл
[19:40:01] tilarids is now xa
[19:41:33] kwis: bobry, пепец, где???
(r'^catalog/(?P<catalog_url>\)/(?P<subcatalog_url>\)/$', 'etalonpribor.etalonkatalog.views.products_views'),
[19:41:58] bobry: слеш экоанирует скобку
[19:42:02] bobry: *экранирует
[19:42:04] bobry: \)
[19:42:08] bobry: это так задумано?
[19:42:26] bobry: получается что в выражении (?P<>) у тебя нет скобки закрывающей
[19:42:56] nicckk is now offline
[19:43:04] wonderfulll is now xa
[19:43:58] kwis: bobry, так тоже не работает:
(r'^catalog/(?P<catalog_url>)/(?P<subcatalog_url>.*)/$', 'etalonpribor.etalonkatalog.views.products_views'),
[19:44:16] erraen is now online
[19:45:19] bobry: kwis: если ты хочешь матчить "/" надо его экранировать \/
[19:45:29] bobry: (r'^catalog/(?P<catalog_url>)\/(?P<subcatalog_url>.*)\/$'
[19:46:06] Муркт: bobry: разве обычный слэш нужно экранировать?
[19:46:18] kwis: bobry, я просто хочу после catalog/ брать первую переменную до слеша и вторую после
[19:46:33] tilarids is now online
[19:47:08] bobry: Муркт: я всегда экранирую, а на что тут еще он может ругаться?
[19:47:39] ыапэ is now offline
[19:47:46] Муркт: bobry: ну можешь ещё точку с запятой экранировать, он тоже ругаться не будет :)
[19:48:05] kwis: вот переделанный вариант с джангосайта:
(r'^articles/(?P<year>\d{50})/(?P<month>\d{50})/$', 'etalonpribor.etalonkatalog.views.products_views'),
говорит: Catalog matching query does not exist.
[19:48:06] wonderfulll is now xa
[19:48:23] kwis: хотя это все брехни
[19:48:26] Optik is now away
[19:48:37] bobry: Муркт: :) да ладно) привычка просто
[19:48:38] Муркт: словами скажи что надо
[19:48:55] Муркт: (?P<catalog_url>) - тут группа есть, а что матчить - не сказано
[19:49:01] Муркт: всё что угодно?
[19:49:17] erraen is now online
[19:49:20] Большой Лис is now away
[19:49:55] Муркт: (?P<catalog_url>.+?)/(?P<subcatalog_url>.+)/$
[19:51:37] Муркт: kwis: подходит такое?
[19:51:43] kwis: Муркт, неа
[19:51:55] Муркт: почему?
[19:52:24] kwis: Муркт, уже узнал
[19:52:28] kwis: ща расскажу
[19:52:55] GrimbleGromble is now away
[19:53:05] wonderfulll is now xa
[19:53:14] lievil is now away
[19:53:26] Optik is now online
[19:53:35] kwis: было вот так:
(r'^catalog/(?P<catalog_url>.*)/$', 'etalonpribor.etalonkatalog.views.catalogs'),
(r'^catalog/(?P<catalog_url>.+?)/(?P<subcatalog_url>.+)/$', 'etalonpribor.etalonkatalog.views.products_views'),
тоесть, как я понял у меня во втором случае на адрес вешалось два обработчика
[19:54:15] Муркт: ну да, первый урл всё зохавывал, и до второго не доходило
[19:54:18] Большой Лис is now online
[19:54:19] erraen is now online
[19:54:20] lievil is now online
[19:54:22] Большой Лис is now online
[19:54:36] lievil is now away
[19:54:53] lievil is now online
[19:56:27] kwis: Муркт, а как поправить первый урл чтоб строго было, убрать точкузвездочку?
[19:56:44] Муркт: надо второй урл поставить первым
[19:56:59] Муркт: или поставить вопрос после звёздочки
[19:57:05] Муркт: или матчить всё кроме слеша
[19:57:10] red-agent is now offline
[19:57:15] Муркт: [^/]*
[19:57:31] tilarids is now away
[19:57:34] red-agent is now online
[19:58:06] wonderfulll is now xa
[19:59:17] erraen is now online
[20:00:39] kwis: Муркт, спасибо, выручил))) Я бы до завтра с этими регулярками разбирался... нинавидю их)))
[20:00:50] Муркт: который способ выбрал?
[20:01:05] tilarids is now online
[20:01:16] Optik is now away
[20:01:23] kwis: Муркт, поменял урлы местами
[20:01:26] Optik is now online
[20:01:32] bobry: не подскажет кто как лучше, мне нужно в строку несколько раз вставлять одну и ту же переменную '%i ... %i ... %i', можно обойтись без кортежа?
[20:01:46] bobry: наверное есть вариант с locals(), но он как то не тру
[20:02:04] Ляпатяпа: без кортежа - словарь
[20:02:21] bobry: ну в случае locals() как раз словарь
[20:02:43] Ляпатяпа: ну да, но необязательно же locals юзать
[20:02:55] GrimbleGromble is now xa
[20:03:06] wonderfulll is now xa
[20:04:06] GrimbleGromble is now online
[20:04:18] erraen is now online
[20:04:40] lievil is now away
[20:05:25] Муркт: bobry: (i,)*n
[20:05:31] Optik is now away
[20:05:50] lievil is now online
[20:06:00] bobry: ну это вариант только если i - единственная, вообще словарь наверное оптимально
[20:06:11] Муркт: тогда да.
[20:08:06] wonderfulll is now xa
[20:09:19] erraen is now online
[20:10:36] Optik is now online
[20:11:43] tilarids is now away
[20:13:00] lievil is now away
[20:13:06] wonderfulll is now xa
[20:13:44] lievil is now online
[20:14:08] Мозгошредер is now Вероятность получения Вами цензурного и корректного ответа зависит от тупости Вашего вопроса обратно пропорционально
[20:14:20] erraen is now online
[20:14:59] tilarids is now offline
[20:15:02] tilarids is now away
[20:16:46] GrimbleGromble is now away
[20:18:08] wonderfulll is now xa
[20:19:06] Ляпатяпа is now offline
[20:19:20] erraen is now online
[20:19:42] lievil is now away
[20:20:14] feedbot is now online
[20:20:15] feedbot: Авторизация на доверии http://softwaremaniacs.org/blog/2009/10/04/authorization-on-trust/
[20:20:19] feedbot is now offline
[20:21:42] tilarids is now xa
[20:21:56] Optik is now away
[20:22:40] lievil is now online
[20:23:08] wonderfulll is now xa
[20:24:20] erraen is now online
[20:24:32] Хрюндель is now online
[20:25:05] Хрюндель: Не ждали?
[20:25:40] Effgen is now offline
[20:26:14] Хрюндель: У кого нибудь наушники на голубом зубе есть?
[20:26:16] Мозгошредер is now away
[20:26:46] GrimbleGromble is now xa
[20:27:58] mdn is now online
[20:28:06] lievil is now away
[20:28:09] mdn is now offline
[20:28:10] wonderfulll is now xa
[20:29:20] erraen is now online
[20:31:46] GrimbleGromble is now online
[20:31:50] lievil is now online
[20:33:10] wonderfulll is now xa
[20:33:41] red-agent is now offline
[20:34:20] erraen is now online
[20:35:25] red-agent is now online
[20:35:28] Большой Лис is now away
[20:35:57] red-agent is now offline
[20:36:46] GrimbleGromble is now away
[20:36:51] red-agent is now online
[20:37:35] Мозгошредер is now Вероятность получения Вами цензурного и корректного ответа зависит от тупости Вашего вопроса обратно пропорционально
[20:37:44] Александp_ is now away
[20:38:10] wonderfulll is now xa
[20:39:20] erraen is now online
[20:41:52] Александp_ is now online
[20:41:56] Optik is now xa
[20:42:46] GrimbleGromble is now online
[20:43:04] tilarids is now online
[20:43:10] wonderfulll is now xa
[20:43:56] jedgar is now online
[20:44:21] erraen is now online
[20:45:26] Большой Лис is now xa
[20:46:16] Optik is now online
[20:47:36] Мозгошредер is now away
[20:48:12] wonderfulll is now xa
[20:48:22] tilarids is now away
[20:49:21] erraen is now online
[20:50:39] klichuk is now online
[20:51:01] Optik is now away
[20:53:12] wonderfulll is now xa
[20:54:22] erraen is now online
[20:55:17] GrimbleGromble is now away
[20:56:32] lievil is now away
[20:57:06] lievil is now online
[20:58:13] wonderfulll is now xa
[20:58:22] tilarids is now xa
[20:58:31] mdn is now online
[20:59:22] erraen is now online
[21:01:54] erraen is now offline
[21:03:13] wonderfulll is now xa
[21:04:46] pymonk is now offline
[21:05:17] GrimbleGromble is now xa
[21:07:20] Effgen is now online
[21:08:13] wonderfulll is now xa
[21:09:47] GrimbleGromble is now online
[21:10:26] Большой Лис is now online
[21:11:01] Optik is now xa
[21:12:56] Optik is now online
[21:13:13] wonderfulll is now xa
[21:14:00] lievil is now away
[21:14:12] lievil is now online
[21:15:05] Effgen is now away
[21:15:26] Большой Лис is now away
[21:15:49] Мозгошредер is now Вероятность получения Вами цензурного и корректного ответа зависит от тупости Вашего вопроса обратно пропорционально
[21:18:13] wonderfulll is now xa
[21:21:06] Optik is now away
[21:23:14] wonderfulll is now xa
[21:24:54] lievil is now away
[21:25:05] Effgen is now xa
[21:25:13] Effgen is now online
[21:25:25] Большой Лис is now xa
[21:25:31] Effgen is now offline
[21:27:17] Effgen is now online
[21:28:14] wonderfulll is now xa
[21:28:51] Optik is now online
[21:29:07] GrimbleGromble is now away
[21:29:27] GrimbleGromble is now online
[21:29:45] red-agent is now away
[21:29:50] lievil is now online
[21:30:17] red-agent is now online
[21:32:58] Большой Лис is now online
[21:33:14] wonderfulll is now xa
[21:35:02] kwis: Может я уже и надоел но все-же рискну спросить. Как при переходе по ссылке запомнить предыдущую ссылку и передать ее во фьюшку??? Если быть конкретнее, при нажатии на ссылку "выйти" чтобы я разлогинивался и возвращался на ту страницу на которой был
[21:35:28] Муркт: ?redirect_to=blablabla
[21:36:04] lievil is now away
[21:36:10] Муркт: return redirect(request.get['redirect_to'])
[21:36:20] Муркт: как-то так. Можешь в byteflow подсмотреть, там есть где-то такое.
[21:36:42] tilarids is now online
[21:37:20] kwis: Муркт, у меня сейчас так:
def logout(request):
auth.logout(request)
return HttpResponseRedirect("/index/")
незнаю как вместо индекса передать сюда старую ссылку
[21:37:40] Муркт: kwis: я тебе уже всё сказал, что нужно для решения
[21:37:48] bobry: товарищи, кто нить trac пользовал?
[21:38:15] wonderfulll is now xa
[21:38:20] tilarids: bobry, думаю, многие. Вопрос давай
[21:38:29] Александp_ is now offline
[21:38:29] bobry: как там defenition lists делаются? я чето не могу в их пример воткнуть
[21:38:51] Александp_ is now online
[21:38:53] bobry:
llama::
some kind of mammal, with hair
ppython::
some kind of reptile, without hair
(can you spot the typo?)
-->
llama
some kind of mammal, with hair
ppython
some kind of reptile, without hair (can you spot the typo?)
[21:38:57] Большой Лис is now away
[21:39:04] Муркт: bobry: блядь, не кидай сюда такие штуки
[21:39:08] bobry: aww..
[21:39:11] bobry: извините
[21:39:21] tilarids: bobry, я даже не знаю, что есть definition list в траке
[21:41:17] Александp_ is now offline
[21:41:30] lievil is now online
[21:41:39] Александp_ is now online
[21:42:55] Александp_ is now offline
[21:43:16] wonderfulll is now xa
[21:43:55] Александp_ is now online
[21:44:57] Большой Лис is now online
[21:46:10] red-agent is now offline
[21:46:13] red-agent is now online
[21:46:15] red-agent is now online
[21:46:16] red-agent is now online
[21:46:18] red-agent is now online
[21:46:47] Александp_ is now offline
[21:47:04] Александp_ is now online
[21:47:14] Effgen is now away
[21:47:18] GrimbleGromble is now away
[21:47:44] kwis: Муркт, опять спасибо, посмотрел на byteflow, уже все отлично работает
[21:47:58] Муркт: np
[21:48:06] kwis: Муркт, там надо было еще одну небольшую функцию нацарапать
[21:48:15] wonderfulll is now xa
[21:48:20] Муркт: наверное. Не общался с джангой уже больше года.
[21:49:09] Хрюндель: Муркт, счастливый ты человек..
[21:49:22] Effgen is now online
[21:49:24] Муркт: ничего, скоро придётся :-\
[21:49:30] Муркт: а может сразу на сварге попробую налабать
[21:49:45] red-agent is now away
[21:50:32] Хрюндель: Муркт, ты лучше на Jboss.. тыж энтерпрайзник :) Или завязал уже?
[21:50:41] Муркт: почти год назад оттуда уволился
[21:50:50] Хрюндель: Ого.. а кричал мол некуда идти
[21:50:55] Хрюндель: и что, куда подался?
[21:50:56] Муркт: что?
[21:50:58] Муркт: никуда
[21:51:01] Муркт: просто нигде не работаю
[21:51:11] Хрюндель: По стопам брата значит пошёл ))
[21:51:12] Муркт: (не кричал я такого)
[21:51:20] Муркт: ну, я-то ещё в универе учусь
[21:51:25] Муркт: мне и так есть чем заняться
[21:51:30] Хрюндель: ясно
[21:52:50] Мозгошредер is now away
[21:53:15] wonderfulll is now xa
[21:53:49] Муркт: работу найти можно, особенно фуллтайм
[21:53:53] red-agent is now online
[21:56:14] Мозгошредер is now Вероятность получения Вами цензурного и корректного ответа зависит от тупости Вашего вопроса обратно пропорционально
[21:56:55] Александp_ is now offline
[21:57:07] Александp_ is now online
[21:57:18] GrimbleGromble is now xa
[21:57:34] kwis: Муркт, смотря где найти, и кем...
[21:57:45] Муркт: в Киеве, питонщегом
[21:58:17] wonderfulll is now xa
[21:58:18] lievil is now away
[21:58:25] Хрюндель: на одеске ))
[21:58:40] lievil is now online
[21:58:43] kwis: Муркт, в столице канечна можно...
[21:58:47] Александp_ is now offline
[21:58:51] klichuk: меня препод нашел сам :)
[21:59:00] Александp_ is now online
[21:59:05] klichuk: а препода сын - директор конторы питоновской
[21:59:10] klichuk: то есть работа нашла меня сама
[21:59:28] tilarids: хм, хочу работать в Интеле. Пусть такая работа меня сама найдёт :)
[21:59:46] klichuk: напиши им письмо "ищите меня!"
[22:01:02] tilarids: кому? Если не ошибаюсь, ближайший ко мне R&D офис Интела - в Москве
[22:01:03] Муркт: меня работа тоже сама находит, но это не значит, что я хочу где-то работать
[22:01:05] tilarids: а это далековато
[22:03:17] wonderfulll is now xa
[22:03:27] Александp_ is now offline
[22:03:37] Александp_ is now online
[22:03:37] jedgar is now offline
[22:03:43] jedgar is now online
[22:05:38] mdn is now offline
[22:06:16] Александp_ is now offline
[22:06:26] Александp_ is now online
[22:07:12] Александp_ is now offline
[22:07:21] Александp_ is now online
[22:08:08] Александp_ is now offline
[22:08:17] wonderfulll is now xa
[22:09:13] Александp_ is now online
[22:10:00] Александp_ is now offline
[22:10:11] Александp_ is now online
[22:11:52] Александp_ is now offline
[22:12:01] Александp_ is now online
[22:12:36] Большой Лис is now offline
[22:13:18] wonderfulll is now xa
[22:13:44] Александp_ is now offline
[22:13:53] Александp_ is now online
[22:14:49] vermus.jabber is now chat
[22:14:50] vermus.jabber is now chat
[22:14:52] vermus.jabber is now chat
[22:16:00] Александp_ is now offline
[22:16:21] indieman is now я - перпендикуляр!!!
[22:16:23] indieman is now я - перпендикуляр!!!
[22:16:34] Александp_ is now online
[22:16:36] indieman: привет
[22:16:38] lievil is now away
[22:16:44] Александp_ is now offline
[22:16:58] Александp_ is now online
[22:17:00] vermus.jabber is now chat
[22:17:24] vermus.jabber is now offline
[22:18:18] wonderfulll is now xa
[22:18:26] lievil is now online
[22:18:47] jedgar is now away
[22:19:52] indieman is now я - перпендикуляр!!!
[22:20:16] Александp_ is now offline
[22:20:24] Мозгошредер is now away
[22:20:30] Александp_ is now online
[22:21:12] Александp_ is now offline
[22:21:14] Александp_ is now online
[22:22:07] Александp_ is now offline
[22:22:16] Александp_ is now online
[22:22:49] GrimbleGromble is now online
[22:23:03] Александp_ is now offline
[22:23:14] Александp_ is now online
[22:23:19] wonderfulll is now xa
[22:23:59] Александp_ is now offline
[22:24:14] Александp_ is now online
[22:24:49] Мозгошредер is now Вероятность получения Вами цензурного и корректного ответа зависит от тупости Вашего вопроса обратно пропорционально
[22:24:53] indieman is now я - перпендикуляр!!!
[22:24:54] Александp_ is now offline
[22:25:04] Александp_ is now online
[22:26:46] Александp_ is now offline
[22:26:46] GrimbleGromble is now offline
[22:26:49] Александp_ is now online
[22:27:10] GrimbleGromble is now online
[22:27:14] GrimbleGromble is now online
[22:28:20] wonderfulll is now xa
[22:29:34] Александp_ is now offline
[22:29:36] Александp_ is now online
[22:29:53] indieman is now я - перпендикуляр!!!
[22:31:10] GrimbleGromble is now offline
[22:31:12] GrimbleGromble is now online
[22:31:16] GrimbleGromble is now online
[22:31:20] Хрюндель is now offline
[22:33:20] Александp_ is now offline
[22:33:21] wonderfulll is now xa
[22:33:31] Александp_ is now online
[22:34:04] jedgar is now online
[22:34:54] indieman is now я - перпендикуляр!!!
[22:36:15] Александp_ is now offline
[22:36:25] Александp_ is now online
[22:37:09] Александp_ is now offline
[22:37:33] Александp_ is now online
[22:38:20] wonderfulll is now xa
[22:38:29] Александp_ is now offline
[22:38:35] Александp_ is now online
[22:38:43] Александp_ is now offline
[22:38:48] lievil is now away
[22:39:20] Александp_ is now online
[22:39:55] indieman is now я - перпендикуляр!!!
[22:42:15] indieman is now offline
[22:43:21] wonderfulll is now xa
[22:44:17] Мозгошредер is now away
[22:44:56] Александp_ is now offline
[22:45:26] Александp_ is now online
[22:47:57] xa4a is now online
[22:47:59] Александp_ is now offline
[22:48:22] wonderfulll is now xa
[22:48:42] Александp_ is now online
[22:48:48] lievil is now xa
[22:49:22] klichuk is now dnd
[22:49:46] jedgar is now away
[22:50:00] tilarids is now away
[22:50:16] tilarids is now online
[22:50:18] lievil is now online
[22:50:46] Optik is now away
[22:51:04] kwis is now away
[22:51:26] Optik is now online
[22:52:17] GrimbleGromble is now offline
[22:53:22] wonderfulll is now xa
[22:55:58] kwis is now online
[22:56:51] klichuk is now online
[22:58:22] wonderfulll is now xa
[23:02:10] Effgen is now offline
[23:03:23] wonderfulll is now xa
[23:04:38] kwis is now away
[23:05:07] jedgar is now online
[23:07:24] Мозгошредер is now Вероятность получения Вами цензурного и корректного ответа зависит от тупости Вашего вопроса обратно пропорционально
[23:08:24] wonderfulll is now xa
[23:08:58] kwis is now online
[23:13:13] Александp_ is now offline
[23:13:25] wonderfulll is now xa
[23:13:33] Александp_ is now online
[23:13:38] red-agent is now away
[23:14:10] Александp_ is now offline
[23:14:21] ыапэ is now я тут
[23:14:25] ыапэ is now я тут
[23:14:26] Александp_ is now online
[23:18:26] wonderfulll is now xa
[23:19:32] Effgen is now online
[23:19:46] Effgen is now offline
[23:19:46] Александp_ is now offline
[23:19:52] Effgen is now online
[23:20:03] Александp_ is now online
[23:21:41] Александp_ is now offline
[23:21:55] Александp_ is now online
[23:23:27] wonderfulll is now xa
[23:23:35] Мозгошредер is now offline
[23:23:38] red-agent is now xa
[23:24:56] lievil is now away
[23:25:58] Effgen is now away
[23:26:04] Effgen is now online
[23:26:10] lievil is now online
[23:28:28] wonderfulll is now xa
[23:32:46] Муркт is now offline
[23:33:16] lievil is now away
[23:33:28] wonderfulll is now xa
[23:37:02] Effgen is now away
[23:38:30] wonderfulll is now xa
[23:40:28] ыапэ is now offline
[23:40:29] ыапэ is now я тут
[23:40:32] ыапэ is now я тут
[23:43:14] Optik is now offline
[23:43:16] lievil is now xa
[23:43:18] Optik is now online
[23:43:20] Optik is now online
[23:43:30] wonderfulll is now xa
[23:44:25] Александp_ is now offline
[23:45:05] Александp_ is now online
[23:47:02] Effgen is now xa
[23:48:31] wonderfulll is now xa
[23:53:30] wonderfulll is now xa
[23:56:52] lievil is now online
[23:58:30] wonderfulll is now xa