[00:08:06] Tony is now away
[00:11:04] maxim.zemlyakov is now online
[00:11:04] maxim.zemlyakov is now online
[00:13:10] maxim.zemlyakov is now online
[00:17:44] xa4a is now away
[00:17:46] xa4a is now online
[00:18:13] maxim.zemlyakov is now online
[00:23:16] maxim.zemlyakov is now online
[00:25:31] maxim.zemlyakov is now online
[00:28:17] maxim.zemlyakov is now online
[00:33:06] Tony is now xa
[00:33:19] maxim.zemlyakov is now online
[00:38:21] maxim.zemlyakov is now online
[00:42:29] maxim.zemlyakov is now offline
[00:46:35] cutwater is now online
[00:52:10] maxim.zemlyakov is now online
[00:52:10] maxim.zemlyakov is now online
[00:54:23] maxim.zemlyakov is now offline
[00:57:08] py_two1 is now away
[00:59:40] py_two1 is now Automatically away due to idle
[01:01:56] maxim.zemlyakov is now online
[01:01:56] maxim.zemlyakov is now online
[01:06:38] maxim.zemlyakov is now online
[01:09:39] maxim.zemlyakov is now online
[01:10:17] maxim.zemlyakov is now offline
[01:26:12] mishok13 is now online
[01:27:28] py_two1 is now offline
[01:27:38] py_two1 is now Automatically away due to idle
[01:32:05] py_two1 is now away
[01:32:17] py_two1 is now Automatically away due to idle
[01:32:40] cutwater is now offline
[01:36:13] gigimon is now offline
[01:46:25] livevil is now away
[01:47:26] livevil is now ♫ Ñòèâåí Êèíã_Äåäà - ‹îìàí Âîëêîâ
[01:47:26] livevil is now ♫ Ñòèâåí Êèíã_Äåäà - ‹îìàí Âîëêîâ
[01:47:49] livevil is now online
[01:49:36] Typhon is now online
[01:49:56] xa4a is now online
[01:50:13] livevil is now ♫ s01e09 – Family Time [SD] [NewStudio] - soap4me
[01:52:29] livevil is now online
[01:55:15] mishok13 is now offline
[01:59:37] sakal is now online
[01:59:37] sakal is now online
[01:59:48] sakal is now online
[01:59:48] sakal is now online
[01:59:56] xa4a is now away
[02:02:40] sakal is now online
[02:04:54] py_two1 is now away
[02:05:45] xa4a is now away
[02:05:45] xa4a is now online
[02:07:03] sakal is now offline
[02:08:00] py_two1 is now Automatically away due to idle
[02:09:25] livevil is now online
[02:14:25] livevil is now away
[02:20:07] livevil is now away
[02:20:07] livevil is now offline
[02:23:45] py_two1: xa4a: autocmd FocusLost,BufLeave *.py,*.html,*.css silent! wa!
[02:24:00] py_two1: что-то как-то не работает если я с одного виртуального стола на другой перехожу
[02:27:06] xa4a is now online
[02:33:10] Joes is now offline
[02:33:45] Joes is now Yep, I'm here.
[02:33:51] py_two1 is now offline
[02:33:55] py_two1 is now Automatically away due to idle
[02:37:06] xa4a is now away
[02:52:12] Typhon is now offline
[02:52:55] xa4a is now away
[02:52:55] xa4a is now online
[03:02:56] xa4a is now online
[03:07:39] xa4a is now online
[03:10:56] xa4a: py_two1: ну наверно фокус не терфется
[03:14:47] py_two1: xa4a: видимо да:)
[03:15:18] py_two1: xa4a: да затрахался :w нажимать когда что-то верстаю
[03:15:27] py_two1: и просматриваю результаты в браузере
[03:15:31] xa4a: map ; :
[03:16:06] xa4a: какой WM рабочие столы переключает?
[03:18:25] py_two1: xa4a: fluxbox
[03:18:46] xa4a: без понятия
[03:19:37] py_two1: xa4a: set autowriteall тоже не помогает
[03:19:44] py_two1: засада, не иначе:)
[03:22:11] xa4a: может au CursorHold?
[03:22:53] evrial is now offline
[03:32:40] py_two1 is now away
[03:33:01] xa4a is now online
[03:38:02] xa4a is now away
[03:42:39] py_two1 is now xa
[03:54:39] py_two1 is now Automatically away due to idle
[04:14:27] py_two1 is now offline
[04:44:34] blw0rm is now xa
[04:44:34] Joes is now Yep, I'm here.
[04:44:34] metall1c is now xa
[04:44:34] Tony is now xa
[04:44:34] xa4a is now away
[04:44:34] pc_ is now xa
[04:44:34] magic_pony is now online
[04:44:34] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[05:14:44] blw0rm is now xa
[05:14:44] Joes is now Yep, I'm here.
[05:14:44] metall1c is now xa
[05:14:44] pc_ is now xa
[05:14:44] xa4a is now away
[05:14:44] Tony is now xa
[05:14:44] magic_pony is now online
[05:14:44] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[05:44:56] blw0rm is now xa
[05:44:56] Joes is now Yep, I'm here.
[05:44:56] metall1c is now xa
[05:44:56] pc_ is now xa
[05:44:56] xa4a is now away
[05:44:56] Tony is now xa
[05:44:56] magic_pony is now online
[05:44:56] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[06:04:57] xa4a is now away
[06:35:08] blw0rm is now xa
[06:35:08] Joes is now Yep, I'm here.
[06:35:08] metall1c is now xa
[06:35:08] pc_ is now xa
[06:35:08] xa4a is now away
[06:35:08] magic_pony is now online
[06:35:08] Tony is now xa
[06:35:08] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[07:05:18] blw0rm is now xa
[07:05:18] Joes is now Yep, I'm here.
[07:05:18] metall1c is now xa
[07:05:18] pc_ is now xa
[07:05:18] Tony is now xa
[07:05:18] xa4a is now away
[07:05:19] magic_pony is now online
[07:05:19] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[07:35:30] blw0rm is now xa
[07:35:30] Joes is now Yep, I'm here.
[07:35:30] metall1c is now xa
[07:35:30] pc_ is now xa
[07:35:30] xa4a is now away
[07:35:30] Tony is now xa
[07:35:30] magic_pony is now online
[07:35:30] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[07:53:16] pc_ is now online
[07:58:17] pc_ is now away
[08:08:17] pc_ is now xa
[08:28:13] sakal is now online
[08:28:13] sakal is now online
[08:28:23] sakal is now online
[08:28:24] sakal is now online
[08:30:55] metall1c is now offline
[08:30:56] metall1c is now xa
[08:32:52] sakal is now online
[08:37:54] sakal is now online
[08:42:56] sakal is now online
[08:45:16] metall1c is now offline
[08:45:16] metall1c is now xa
[08:47:58] sakal is now online
[08:52:59] sakal is now online
[08:58:02] sakal is now online
[09:03:05] sakal is now online
[09:08:07] sakal is now online
[09:11:12] sakal is now offline
[09:12:04] sakal is now online
[09:12:04] sakal is now online
[09:14:16] sakal is now online
[09:18:40] sakal is now offline
[09:34:32] ink08 is now online
[09:35:53] ruff3d is now ?
[09:36:11] ruff3d: Доброе утро всем)!
[09:39:11] gigimon is now online
[09:39:14] gigimon is now offline
[09:40:01] ruff3d: у меня примитивный вопрос...
[09:41:22] ruff3d: в функции когда возвращается return происходит выход из функции или она продолжает выполнять нижеизложеный код?
[09:45:25] mishok13 is now online
[09:52:44] blw0rm is now online
[09:53:05] ruff3d is now offline
[09:53:14] ruff3d is now ?
[09:53:57] ruff3d: в функции когда возвращается return происходит выход из функции или она продолжает выполнять нижеизложеный код?
[09:59:13] Алексей_ is now online
[10:00:56] Алексей_: почему во фласке могут результаты кэшироваться? т.е. делается запрос для которого данные уже заведомо обновлены, а он возвращает старые?
[10:01:07] Алексей_: работают две разные сессии с одной моделью
[10:03:53] Tony is now online
[10:04:58] wiz is now online
[10:07:43] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[10:10:07] metall1c is now online
[10:11:51] metall1c is now offline
[10:11:51] metall1c is now online
[10:11:57] ruff3d is now offline
[10:12:05] ruff3d is now ?
[10:13:53] mishok13 is now away
[10:14:11] mishok13 is now online
[10:22:07] mishok13 is now away
[10:24:23] mishok13 is now online
[10:24:56] slav0nic is now xa
[10:36:29] mishok13 is now away
[10:37:02] mishok13 is now online
[10:40:47] gigimon is now online
[10:44:55] mishok13 is now away
[10:50:15] blw0rm is now offline
[10:50:18] blw0rm is now online
[11:05:25] mishok13 is now online
[11:19:25] clickf1.kz is now dnd
[11:19:35] clickf1.kz: re
[11:23:37] clickf1.kz is now dnd
[11:25:26] MAVr is now away
[11:25:27] MAVr is now away
[11:25:41] clickf1.kz: hi
[11:25:41] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[11:28:33] clickf1.kz is now dnd
[11:28:39] clickf1.kz is now dnd
[11:29:01] xa4a is now away
[11:33:42] clickf1.kz is now dnd
[11:35:18] ink08 is now away
[11:35:18] ink08 is now away
[11:36:38] clickf1.kz: ребята
[11:36:40] clickf1.kz: http://dumpz.org/237852/
[11:37:00] clickf1.kz: это мой первый код на джанго, он совсем плохой ?
[11:37:09] clickf1.kz: project core
app news
[11:37:14] clickf1.kz: все показывает, все работает
[11:37:32] clickf1.kz: вот я не знаю как вывести категории новостей цепочкой кроме как если уровней будет 2 в категориях
[11:38:44] clickf1.kz is now dnd
[11:43:46] clickf1.kz is now dnd
[11:44:03] mishok13 is now away
[11:44:54] mishok13 is now online
[11:45:51] ink08 is now away
[11:45:51] ink08 is now online
[11:47:35] огыешсук is now online
[11:48:34] evrial is now xa
[11:48:48] clickf1.kz is now dnd
[11:52:29] mishok13 is now away
[11:53:32] ink08 is now away
[11:53:33] ink08 is now away
[11:53:50] clickf1.kz is now dnd
[11:54:58] mishok13 is now online
[11:56:45] slav0nic: clickf1.kz, как именно цепочкой?
get(id = news_id) -> get_object_or_404 смотри
render_to_responce -> render shortcut
ну и строки что-то не юникод u''
[11:57:21] clickf1.kz: благодарю!
[11:58:52] clickf1.kz is now dnd
[12:03:55] clickf1.kz is now dnd
[12:04:15] mishok13 is now away
[12:04:41] ruff3d is now dnd
[12:04:57] ruff3d is now ?
[12:06:50] mishok13 is now online
[12:08:56] clickf1.kz is now dnd
[12:10:01] mishok13 is now away
[12:13:58] clickf1.kz is now dnd
[12:15:17] огыешсук is now away
[12:15:46] огыешсук is now online
[12:19:00] clickf1.kz is now dnd
[12:21:13] mishok13 is now online
[12:21:19] Typhon is now online
[12:22:10] clickf1.kz: http://school54.org.ru/news/2012/4/
[12:22:22] clickf1.kz: Вот так "Школа 54 <http://school54.org.ru/> > Новости <http://school54.org.ru/news/> > 4–2012"
[12:22:29] clickf1.kz: над новостью
[12:23:40] clickf1.kz: все нашел
[12:24:02] clickf1.kz is now dnd
[12:24:59] mishok13 is now away
[12:28:07] mishok13 is now online
[12:29:04] clickf1.kz is now dnd
[12:29:35] ink08 is now away
[12:29:35] ink08 is now online
[12:32:55] mishok13 is now away
[12:32:55] clickf1.kz is now offline
[12:35:20] py_two1 is now Automatically away due to idle
[12:37:06] ink08 is now away
[12:37:06] ink08 is now away
[12:38:30] mishok13 is now online
[12:38:36] ink08 is now away
[12:38:36] ink08 is now online
[12:38:51] clickf1.kz is now dnd
[12:38:52] clickf1.kz is now dnd
[12:39:01] clickf1.kz: parentid = NewsCategory.objects.all()[0]
subcats = NewsCategory.objects.filter(parent.id = parentid.id)
[12:39:02] clickf1.kz is now dnd
[12:39:11] clickf1.kz: я не могу так вытащить суб категории первой записи в базе ?
[12:41:00] ruff3d is now away
[12:43:34] ruff3d is now ?
[12:44:04] clickf1.kz is now dnd
[12:45:43] mishok13 is now away
[12:48:04] Typhon is now offline
[12:49:06] clickf1.kz is now dnd
[12:51:43] clickf1.kz: можно ли объект для дебага print сделать прям на страницу ?
[12:52:38] xa4a is now away
[12:52:41] xa4a is now online
[12:53:41] ink08 is now away
[12:53:42] ink08 is now away
[12:54:08] evrial is now offline
[12:54:08] evrial is now xa
[12:54:08] clickf1.kz is now dnd
[12:54:28] clickf1.kz: стоит мне задать вопрос, как я сам нахожу ответ
[12:54:32] clickf1.kz: не обращайте внимание)
[12:59:00] pc_ is now online
[12:59:10] clickf1.kz is now dnd
[13:00:10] Сволота is now online
[13:00:54] ruff3d is now away
[13:00:56] clickf1.kz is now offline
[13:06:31] py_two1 is now offline
[13:06:38] Сволота is now away
[13:07:44] Сволота is now online
[13:08:13] wiz is now away
[13:10:40] clickf1.kz is now dnd
[13:10:40] clickf1.kz is now dnd
[13:12:57] clickf1.kz is now dnd
[13:17:58] clickf1.kz is now dnd
[13:20:53] ruff3d is now xa
[13:21:26] огыешсук is now away
[13:22:14] огыешсук is now online
[13:23:01] clickf1.kz is now dnd
[13:23:56] nmk is now online
[13:24:38] blw0rm is now offline
[13:24:40] blw0rm is now online
[13:24:42] blw0rm is now online
[13:28:03] clickf1.kz is now dnd
[13:29:40] gigimon is now online
[13:30:31] metall1c is now away
[13:32:59] ink08 is now away
[13:32:59] ink08 is now online
[13:33:06] clickf1.kz is now dnd
[13:34:12] wiz is now xa
[13:35:08] metall1c is now online
[13:38:08] clickf1.kz is now dnd
[13:43:10] clickf1.kz is now dnd
[13:43:37] clickf1.kz: >>> from news.models import NewsCategory
>>> allnc = NewsCategory.objects.all()
>>> allnc
[<NewsCategory: Политика: newscategory>, <NewsCategory: В казахстане: newscategory>, <NewsCategory: В России: newscategory>
[13:43:53] clickf1.kz: ребята почему у меня везде в поле slug = AutoSlugField(populate_from=title)
[13:43:57] clickf1.kz: newscategory
[13:43:58] clickf1.kz: ?
[13:44:17] gigimon is now online
[13:45:54] xa4a is now online
[13:46:09] ruff3d is now ?
[13:47:19] clickf1.kz: с кодировкой траблы)) сори
[13:48:12] clickf1.kz is now dnd
[13:48:46] clickf1.kz: http://dumpz.org/237920/ посмотрите плиз, почему в базе везде в autoslug поле слово 'newscategory' ?
[13:50:46] slav0nic: возможно оно так обображает, выведи явно поле, там думаю всё ок
[13:50:55] xa4a is now away
[13:51:51] clickf1.kz: так вон в ссылке вывожу
[13:51:56] clickf1.kz: везде newscategory
[13:52:10] clickf1.kz: а если делаю вот так
>>> newname = allnc[0].title
>>> newname
u'\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430'
[13:53:14] clickf1.kz is now dnd
[13:53:51] clickf1.kz: title = models.CharField(max_length=100, verbose_name='Название категории')
slug = AutoSlugField(populate_from='title')
[13:55:53] clickf1.kz: да пох по ID буду
[13:56:10] ruff3d is now away
[13:58:16] clickf1.kz is now dnd
[14:03:18] clickf1.kz is now dnd
[14:04:34] blw0rm is now away
[14:06:10] cutwater is now online
[14:08:21] clickf1.kz is now dnd
[14:09:07] MAVr is now away
[14:11:26] xa4a is now online
[14:13:22] Сволота is now away
[14:13:23] clickf1.kz is now dnd
[14:13:36] Сволота is now online
[14:16:07] slav0nic: - read_posts = post_tracking.topics if post_tracking else {}
+ read_posts = (post_tracking.topics if post_tracking else None) or {}
что-то не пойму что тут чувак "исправил"
[14:16:09] ruff3d is now xa
[14:17:13] Typhon is now online
[14:18:25] clickf1.kz is now dnd
[14:19:36] blw0rm is now xa
[14:23:27] clickf1.kz is now dnd
[14:23:31] xa4a: ну во-первых он смешал тернарный оператор с and/or коротким замыканием
[14:24:07] MAVr is now xa
[14:24:08] MAVr is now xa
[14:24:35] xa4a: а вообще если post_tracking.topics был, например, списком пустым, то он заменится словарем :\
[14:25:59] xa4a is now away
[14:26:30] xa4a is now online
[14:28:07] Typhon is now away
[14:28:30] clickf1.kz is now dnd
[14:28:43] slav0nic: угу снк, уже понял что он хотеть сказать)
[14:28:48] blw0rm is now online
[14:29:15] Typhon is now online
[14:33:13] dicos is now online
[14:33:31] clickf1.kz is now dnd
[14:34:02] xa4a: что?
[14:34:35] xa4a: а, что post_tracking.topics может быть None?
[14:34:41] slav0nic: угу
[14:35:23] gigimon is now online
[14:36:47] Joes is now Yep, I'm here.
[14:37:10] xa4a is now away
[14:38:33] clickf1.kz is now dnd
[14:39:17] nmk is now xa
[14:39:45] xa4a is now online
[14:40:34] pc_ is now away
[14:41:11] clickf1.kz: блин, эти статические файлы...
[14:41:24] clickf1.kz: имеем вот так в settings.py
http://127.0.0.1:8000/js/jquery.js
[14:41:25] clickf1.kz: ой
[14:41:29] clickf1.kz: STATIC_URL = '/home/clickf1/django-dev/mimicms/static/'
[14:41:48] clickf1.kz: root@clickf1-book:/home/clickf1/django-dev/mimicms# # l /home/clickf1/django-dev/mimicms/static/
js
[14:42:07] clickf1.kz: обращаюсь http://127.0.0.1:8000/js/jquery.js
[14:42:10] clickf1.kz: ошибка 401
[14:42:14] clickf1.kz: 404*
[14:42:19] wiz is now online
[14:42:30] clickf1.kz: помню тогда ещё год назад парился с этими статическими файлами
[14:42:32] clickf1.kz: django 1.5 версии
[14:43:33] xa4a: slav0nic: это же не правильно?
[14:43:35] clickf1.kz is now dnd
[14:44:08] clickf1.kz: кстати есть прямой онлайн линк на jsqury.js последний ? бывает такое ? может его в include сделаю
[14:44:13] xa4a: да
[14:44:13] clickf1.kz: пусть оттуда грузит)
[14:44:19] clickf1.kz: можно линк
[14:44:20] xa4a: google libraries api
[14:44:22] xa4a: или как-то так
[14:44:26] slav0nic: xa4a, возможно пустой словарь будет логичней) но мне облом менять)
[14:44:27] xa4a: !g google jquery api
[14:44:49] clickf1.kz: о точно
[14:44:51] clickf1.kz: вижу
[14:45:10] clickf1.kz: но проблем со стат файлами это не снимает (
[14:45:40] pc_ is now online
[14:45:41] xa4a: !g django serving static files
[14:46:52] gigimon is now online
[14:48:37] clickf1.kz is now dnd
[14:50:25] clickf1.kz: !g ?>
[14:50:28] clickf1.kz: :(
[14:50:33] ruff3d is now ?
[14:50:40] pc_ is now away
[14:51:44] pc_ is now online
[14:51:59] xa4a is now away
[14:53:39] clickf1.kz is now dnd
[14:54:45] Typhon is now away
[14:54:45] Typhon is now away
[14:55:15] MAVr is now away
[14:55:25] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[14:58:02] nmk is now online
[14:58:42] clickf1.kz is now dnd
[15:01:59] xa4a is now away
[15:02:46] огыешсук is now offline
[15:03:44] clickf1.kz is now dnd
[15:07:18] mishok13 is now online
[15:08:37] Typhon is now away
[15:08:40] Typhon is now online
[15:08:46] clickf1.kz is now dnd
[15:11:15] mishok13 is now away
[15:11:57] mishok13 is now online
[15:13:21] wiz is now offline
[15:13:48] clickf1.kz is now dnd
[15:14:00] Алексей_ is now away
[15:14:13] pc_ is now away
[15:15:08] wiz is now online
[15:18:50] clickf1.kz is now dnd
[15:20:05] ruff3d is now dnd
[15:20:17] ruff3d is now ?
[15:21:03] mishok13 is now away
[15:23:00] mishok13 is now online
[15:23:52] clickf1.kz is now dnd
[15:24:12] pc_ is now xa
[15:24:30] xa4a is now away
[15:24:34] xa4a is now online
[15:24:58] Typhon is now away
[15:25:22] Typhon is now online
[15:26:13] mishok13 is now away
[15:28:55] clickf1.kz is now dnd
[15:33:56] clickf1.kz is now dnd
[15:34:03] cutwater is now away
[15:37:20] wiz is now offline
[15:38:58] clickf1.kz is now dnd
[15:41:29] dicos is now away
[15:41:30] dicos is now away
[15:42:23] Typhon is now away
[15:42:24] Typhon is now online
[15:44:00] Алексей_ is now xa
[15:44:00] clickf1.kz is now dnd
[15:44:22] Typhon is now away
[15:44:35] pc_ is now online
[15:47:41] dicos is now away
[15:47:42] dicos is now online
[15:48:15] cutwater is now online
[15:49:03] clickf1.kz is now dnd
[15:51:06] mishok13 is now online
[15:54:04] clickf1.kz is now dnd
[15:54:22] Typhon is now away
[15:55:29] xa4a is now online
[15:55:45] pc_ is now away
[15:59:07] clickf1.kz is now dnd
[15:59:21] dicos is now away
[15:59:21] dicos is now away
[16:01:12] sakal is now online
[16:01:12] sakal is now online
[16:01:12] sakal is now online
[16:01:20] sakal is now online
[16:01:22] sakal is now online
[16:01:22] sakal is now online
[16:01:22] pc_ is now online
[16:01:34] mishok13 is now offline
[16:03:55] Алексей_ is now offline
[16:04:10] clickf1.kz is now dnd
[16:04:12] ruff3d is now away
[16:06:16] sakal is now offline
[16:06:39] ruff3d is now ?
[16:09:12] clickf1.kz is now dnd
[16:10:32] sakal is now online
[16:10:33] sakal is now online
[16:11:27] metall1c is now away
[16:11:57] Typhon is now away
[16:12:00] Typhon is now online
[16:12:47] sakal is now online
[16:14:13] clickf1.kz: ребята, добавил django-registration
[16:14:15] clickf1.kz is now dnd
[16:14:24] clickf1.kz: http://127.0.0.1:8000/accounts/login/ выполняю вход а там
Forbidden (403)CSRF verification failed. Request aborted.
[16:14:38] clickf1.kz: MIDDLEWARE отключил
Forbidden (403)CSRF verification failed. Request aborted.
[16:14:41] clickf1.kz: #'django.middleware.csrf.CsrfViewMiddleware',
[16:14:51] clickf1.kz: что за сволота а
[16:15:30] Сволота: кто меня тут самонит!
[16:16:10] xa4a: csrf
[16:16:13] xa4a: clickf1.kz:
[16:16:19] xa4a: ты забыл передать csrf токен
[16:16:21] xa4a: скорее всего
[16:16:29] clickf1.kz: ну так я же отключил middleware
[16:16:30] xa4a: а, гм
[16:16:36] clickf1.kz: при регистрации такая же ошибка была, я его отключил
[16:16:40] clickf1.kz: а теперь при авторизации такая же
[16:16:49] xa4a: "CSRF verification failed" поищи в исходниках
[16:16:59] clickf1.kz: django ?
[16:17:24] xa4a: да
[16:17:29] xa4a: или registration
[16:17:32] clickf1.kz: зачем о0
[16:17:34] xa4a: а почему отключил мидлварь?
[16:17:48] sakal is now offline
[16:18:25] clickf1.kz: а зачем он мне сейчас ? я в курсе за эту уязвимость
[16:18:25] sakal is now online
[16:18:25] sakal is now online
[16:18:27] clickf1.kz: просто не до этого сейчас
[16:18:53] xa4a: ну например, чтобы оно тебе ошибку не выдавало
[16:18:57] sakal is now online
[16:19:17] clickf1.kz is now dnd
[16:19:26] clickf1.kz: ок щас включу
[16:20:32] Typhon is now away
[16:21:26] dicos is now away
[16:21:27] dicos is now online
[16:22:14] metall1c is now online
[16:23:15] Typhon is now online
[16:23:59] sakal is now online
[16:24:20] clickf1.kz is now dnd
[16:25:56] clickf1.kz: Page not found (404)
Request Method:GET
Request URL:http://127.0.0.1:8000/accounts/profile/
[16:26:03] clickf1.kz: после авторизации, стало быть все ок ? =)
[16:27:30] xa4a: наверна
[16:29:01] sakal is now online
[16:29:22] clickf1.kz is now dnd
[16:34:03] sakal is now online
[16:34:06] blw0rm is now offline
[16:34:09] blw0rm is now online
[16:34:25] clickf1.kz is now dnd
[16:35:19] dicos is now offline
[16:35:40] pc_ is now away
[16:39:05] sakal is now online
[16:39:27] clickf1.kz is now dnd
[16:39:30] clickf1.kz: теперь надо личный кабинет делать
[16:39:33] clickf1.kz: получается
[16:40:44] clickf1.kz: ребята на сколько устарела вот эта статья ? http://www.odmin4eg.ru/2011/django-registration-primer/
[16:40:55] clickf1.kz: а то с примера startapp profile выдает что такой модуль уже есть
[16:40:55] blw0rm is now offline
[16:40:56] pc_ is now online
[16:41:02] blw0rm is now online
[16:43:05] Typhon is now away
[16:44:06] slav0nic: clickf1.kz, In [1]: import profile
In [2]: profile.__file__
Out[2]: '/usr/lib/python2.7/profile.pyc'
[16:44:07] sakal is now online
[16:44:07] slav0nic: плохое имя
[16:44:09] slav0nic: )
[16:44:24] clickf1.kz: ага я уже)
[16:44:28] clickf1.kz is now dnd
[16:44:30] clickf1.kz: сижу имя гадаю теперь
[16:44:33] clickf1.kz: а как вообще лучше сделать ?
[16:44:44] clickf1.kz: получается django-registration чисто для регистрации\активации
[16:44:52] Typhon is now online
[16:49:09] sakal is now online
[16:49:14] ruff3d is now away
[16:49:30] clickf1.kz is now dnd
[16:49:37] Typhon is now away
[16:51:19] Tony is now away
[16:54:10] sakal is now online
[16:54:32] clickf1.kz is now dnd
[16:54:41] ruff3d is now ?
[16:54:58] ink08 is now away
[16:54:58] ink08 is now away
[16:55:41] metall1c: у меня с регулярными выражениями хренова, никто не подскажет как правильно в urls.py прописать урл /blabla/_цифра_/
[16:55:45] metall1c: причем цифра от 1 до 31
[16:56:17] metall1c: (\d+) - любую цифру принимает
[16:56:27] xa4a: почему такой странный диапазон?
[16:56:52] metall1c: день месяца
[16:56:52] ink08 is now away
[16:56:52] ink08 is now online
[16:56:53] ink08 is now offline
[16:57:02] xa4a: а если февраль?
[16:57:14] metall1c: все ок, в коде обработка идет
[16:57:15] xa4a: а если сентябрь?
[16:57:25] metall1c: просто как доп защита :)
[16:57:26] xa4a: так зачем ограничивать регекспом, если в коде обработка всё-равно
[16:57:40] metall1c: (\d{1,2}) вот так до двух цифр, если правильно понял
[16:57:46] xa4a: (\d|[012]\d|3[01])
[16:57:48] pc_ is now away
[16:57:53] metall1c: о, спс
[16:58:22] xa4a: даже ([012]?\d|3[01])
[16:58:34] xa4a is now away
[16:58:40] xa4a is now online
[16:58:45] metall1c: а в чем разница?
[16:59:01] metall1c: а оно ноль принимает
[16:59:13] sakal is now online
[16:59:25] metall1c: ну да фиг с ним
[16:59:34] clickf1.kz is now dnd
[16:59:37] Typhon is now away
[17:01:00] xa4a: а, чтобы ноль не принимало - ([1-9]|[12]\d|3[01])
[17:01:18] cutwater is now away
[17:01:20] xa4a: но так не примет 03
[17:01:32] metall1c: а не надо 03, будет 3
[17:01:52] xa4a: (0?[1-9]|[12]\d|3[01])
[17:04:07] metall1c: спс, вроде, работает
[17:04:15] sakal is now online
[17:04:37] clickf1.kz is now dnd
[17:07:22] clickf1.kz is now dnd
[17:07:22] clickf1.kz is now dnd
[17:07:48] pc_ is now xa
[17:08:11] ruff3d is now away
[17:08:16] pc_ is now online
[17:08:31] wiz is now online
[17:09:18] sakal is now online
[17:09:39] clickf1.kz is now dnd
[17:13:17] pc_ is now away
[17:14:19] sakal is now online
[17:14:41] clickf1.kz is now dnd
[17:16:19] Tony is now xa
[17:19:22] sakal is now online
[17:19:43] clickf1.kz is now dnd
[17:21:18] cutwater is now xa
[17:23:14] cutwater is now online
[17:23:17] pc_ is now xa
[17:23:24] metall1c: никто не подскажет ф-ию в питоне, есть строка с кучей пробелов и знаков табуляции, надо заменить несколько пробелов между символами одним, а знаки табуляции тоже одним пробелом
[17:24:24] sakal is now online
[17:24:46] clickf1.kz is now dnd
[17:25:21] Typhon is now away
[17:25:25] Typhon is now online
[17:26:05] xa4a is now away
[17:26:37] metall1c: а, не надо, split() и так нормально понял много пробелов :)
[17:28:12] ruff3d is now xa
[17:28:21] gigimon: и в чем проблема?
[17:29:25] sakal is now online
[17:29:46] xa4a is now online
[17:29:48] clickf1.kz is now dnd
[17:34:28] sakal is now online
[17:34:50] clickf1.kz is now dnd
[17:39:13] pc_ is now online
[17:39:29] sakal is now online
[17:39:52] clickf1.kz is now dnd
[17:44:32] sakal is now online
[17:44:55] clickf1.kz is now dnd
[17:47:14] evrial is now offline
[17:48:32] mishok13 is now online
[17:49:33] sakal is now online
[17:49:57] clickf1.kz is now dnd
[17:51:55] Tony is now online
[17:54:36] sakal is now online
[17:54:59] clickf1.kz is now dnd
[17:55:14] mishok13 is now away
[17:57:06] ruff3d is now ?
[17:58:03] mishok13 is now online
[17:59:38] sakal is now online
[18:00:02] clickf1.kz is now dnd
[18:01:30] mishok13 is now away
[18:02:40] wiz is now offline
[18:04:40] sakal is now online
[18:05:04] clickf1.kz is now dnd
[18:06:01] clickf1.kz is now dnd
[18:06:01] clickf1.kz is now dnd
[18:06:01] clickf1.kz is now dnd
[18:09:43] sakal is now online
[18:10:07] clickf1.kz is now dnd
[18:10:34] pc_ is now away
[18:13:31] pc_ is now online
[18:14:45] sakal is now online
[18:14:56] cutwater is now offline
[18:15:09] clickf1.kz is now dnd
[18:16:12] Typhon is now away
[18:19:47] sakal is now online
[18:20:11] clickf1.kz is now dnd
[18:24:49] sakal is now online
[18:25:14] clickf1.kz is now dnd
[18:26:12] Typhon is now away
[18:27:21] metall1c is now away
[18:27:48] metall1c is now online
[18:28:18] Typhon is now away
[18:28:21] Typhon is now online
[18:29:50] sakal is now online
[18:30:16] clickf1.kz is now dnd
[18:34:53] sakal is now online
[18:35:18] clickf1.kz is now dnd
[18:36:15] slav0nic is now offline
[18:38:36] blw0rm is now offline
[18:39:55] sakal is now online
[18:40:20] clickf1.kz is now dnd
[18:41:40] gigimon is now offline
[18:43:39] clickf1.kz is now offline
[18:44:57] sakal is now online
[18:49:34] Typhon is now offline
[18:49:59] sakal is now online
[18:55:02] sakal is now online
[19:00:04] sakal is now online
[19:01:40] MAVr is now offline
[19:04:13] pc_ is now away
[19:05:06] sakal is now online
[19:06:27] pc_ is now online
[19:10:08] sakal is now online
[19:10:10] ruff3d is now offline
[19:11:31] xa4a is now away
[19:11:37] xa4a is now online
[19:11:38] metall1c is now away
[19:13:20] maxp is now online
[19:13:37] xa4a is now away
[19:15:11] sakal is now online
[19:15:41] maxim.zemlyakov is now online
[19:15:41] maxim.zemlyakov is now online
[19:15:41] maxim.zemlyakov is now online
[19:15:45] maxim.zemlyakov is now online
[19:19:38] maxim.zemlyakov is now online
[19:20:14] sakal is now online
[19:24:41] maxim.zemlyakov is now online
[19:25:16] sakal is now online
[19:29:23] mishok13 is now online
[19:29:44] maxim.zemlyakov is now online
[19:30:19] sakal is now online
[19:31:39] metall1c is now xa
[19:31:48] xa4a is now away
[19:33:44] xa4a is now online
[19:34:01] Сволота is now offline
[19:34:46] maxim.zemlyakov is now online
[19:35:21] sakal is now online
[19:36:58] nmk is now offline
[19:37:13] mishok13 is now away
[19:39:48] maxim.zemlyakov is now online
[19:40:24] sakal is now online
[19:44:52] maxim.zemlyakov is now online
[19:45:26] sakal is now online
[19:49:54] maxim.zemlyakov is now online
[19:50:26] pc_ is now away
[19:50:28] sakal is now online
[19:51:50] mishok13 is now offline
[19:54:56] maxim.zemlyakov is now online
[19:55:31] sakal is now online
[20:00:00] maxim.zemlyakov is now online
[20:00:25] pc_ is now xa
[20:00:34] sakal is now online
[20:00:59] огыешсук is now online
[20:05:01] slav0nic is now xa
[20:05:03] maxim.zemlyakov is now online
[20:05:36] sakal is now online
[20:09:19] pc_ is now online
[20:10:07] maxim.zemlyakov is now online
[20:10:39] sakal is now online
[20:15:09] maxim.zemlyakov is now online
[20:15:41] sakal is now online
[20:20:11] maxim.zemlyakov is now online
[20:20:42] sakal is now online
[20:25:13] maxim.zemlyakov is now online
[20:25:45] sakal is now online
[20:30:16] maxim.zemlyakov is now online
[20:30:48] sakal is now online
[20:35:18] maxim.zemlyakov is now online
[20:35:46] xa4a is now away
[20:35:50] sakal is now online
[20:36:45] xa4a is now online
[20:39:53] xa4a is now away
[20:40:20] maxim.zemlyakov is now online
[20:40:52] sakal is now online
[20:41:19] xa4a is now online
[20:45:23] maxim.zemlyakov is now online
[20:45:55] sakal is now online
[20:50:24] maxim.zemlyakov is now online
[20:50:57] sakal is now online
[20:55:12] xa4a is now online
[20:55:27] maxim.zemlyakov is now online
[20:56:00] sakal is now online
[20:57:35] xa4a is now online
[21:00:29] maxim.zemlyakov is now online
[21:01:02] sakal is now online
[21:05:31] maxim.zemlyakov is now online
[21:06:05] sakal is now online
[21:10:33] maxim.zemlyakov is now online
[21:11:07] sakal is now online
[21:12:51] xa4a is now online
[21:15:37] maxim.zemlyakov is now online
[21:16:10] sakal is now online
[21:17:50] xa4a is now away
[21:18:18] xa4a is now away
[21:20:39] maxim.zemlyakov is now online
[21:21:12] sakal is now online
[21:24:37] andreyjkee is now online
[21:25:42] maxim.zemlyakov is now online
[21:25:51] pc_ is now away
[21:26:15] sakal is now online
[21:30:16] xa4a is now away
[21:30:20] xa4a is now online
[21:30:45] maxim.zemlyakov is now online
[21:31:17] sakal is now online
[21:34:21] xa4a is now away
[21:35:48] maxim.zemlyakov is now online
[21:35:52] pc_ is now xa
[21:36:20] sakal is now online
[21:40:50] maxim.zemlyakov is now online
[21:41:22] sakal is now online
[21:43:16] xa4a is now online
[21:45:02] xa4a is now away
[21:45:52] maxim.zemlyakov is now online
[21:46:24] sakal is now online
[21:46:34] maxp is now offline
[21:49:39] xa4a is now online
[21:50:55] maxim.zemlyakov is now online
[21:51:27] sakal is now online
[21:55:57] maxim.zemlyakov is now online
[21:56:30] sakal is now online
[22:00:24] andreyjkee is now offline
[22:00:59] maxim.zemlyakov is now online
[22:01:32] sakal is now online
[22:05:58] xa4a is now online
[22:06:01] maxim.zemlyakov is now online
[22:06:08] xa4a is now online
[22:06:34] sakal is now online
[22:11:05] maxim.zemlyakov is now online
[22:11:37] sakal is now online
[22:16:07] maxim.zemlyakov is now online
[22:16:39] sakal is now online
[22:18:20] xa4a is now online
[22:21:09] maxim.zemlyakov is now online
[22:21:41] sakal is now online
[22:23:17] xa4a is now away
[22:26:12] maxim.zemlyakov is now online
[22:26:43] sakal is now online
[22:27:38] xa4a is now away
[22:27:40] xa4a is now online
[22:31:14] maxim.zemlyakov is now online
[22:31:46] sakal is now online
[22:36:17] maxim.zemlyakov is now online
[22:36:49] sakal is now online
[22:41:20] maxim.zemlyakov is now online
[22:41:52] sakal is now online
[22:42:53] sakal is now online
[22:45:00] sakal is now online
[22:46:22] maxim.zemlyakov is now online
[22:46:55] sakal is now online
[22:50:03] sakal is now online
[22:51:25] maxim.zemlyakov is now online
[22:51:57] sakal is now online
[22:55:05] sakal is now online
[22:55:10] slav0nic is now offline
[22:56:28] maxim.zemlyakov is now online
[22:56:59] sakal is now online
[23:00:07] sakal is now online
[23:01:30] maxim.zemlyakov is now online
[23:02:00] sakal is now online
[23:05:11] sakal is now online
[23:06:33] maxim.zemlyakov is now online
[23:07:03] sakal is now online
[23:10:13] sakal is now online
[23:11:35] maxim.zemlyakov is now online
[23:12:04] sakal is now online
[23:15:15] sakal is now online
[23:16:38] maxim.zemlyakov is now online
[23:17:06] sakal is now online
[23:20:03] py_two1 is now Automatically away due to idle
[23:20:18] sakal is now online
[23:21:39] maxim.zemlyakov is now online
[23:22:09] sakal is now online
[23:25:20] sakal is now online
[23:26:43] maxim.zemlyakov is now online
[23:27:11] sakal is now online
[23:30:23] sakal is now online
[23:31:46] maxim.zemlyakov is now online
[23:32:15] sakal is now online
[23:35:26] sakal is now online
[23:36:50] maxim.zemlyakov is now online
[23:37:20] sakal is now online
[23:40:30] sakal is now online
[23:41:53] maxim.zemlyakov is now online
[23:42:23] sakal is now online
[23:45:33] sakal is now online
[23:46:56] maxim.zemlyakov is now online
[23:47:26] sakal is now online
[23:48:22] mishok13 is now online
[23:48:33] огыешсук is now offline
[23:50:36] sakal is now online
[23:51:58] maxim.zemlyakov is now online
[23:52:29] sakal is now online
[23:55:37] mishok13 is now offline
[23:55:39] sakal is now online
[23:57:00] maxim.zemlyakov is now online
[23:57:31] sakal is now online
[23:59:37] maxim.zemlyakov is now offline