[00:00:46] singularity is now offline
[00:29:42] ambush is now away
[00:31:20] ambush is now online
[00:57:22] Tony is now away
[01:01:16] ingfa_1981 is now online
[01:01:30] fuzzy is now online
[01:01:47] fuzzy: я пришёл пожаловаться на джаангу
[01:02:34] fuzzy: тупой BaseModelFormSet комитит в базу даже с commit=False :(
[01:08:22] fuzzy: бле. только в 1.7 пофиксили. надо же
[01:12:52] slav0nic is now away
[01:13:16] fuzzy: >_<
[01:15:07] ingfa_1981 is now offline
[01:22:22] Tony is now xa
[01:22:52] slav0nic is now xa
[01:24:22] fuzzy: а в 1.7 всё остальное не работает :\
[01:24:32] fuzzy: как этой джангой вообще пользуются?
[01:24:46] RanWise: может фикс есть?
[01:24:52] RanWise: в группе джанги спрашивать нужно
[01:39:37] remo: тупой вопрос: p1 = Vote.objects.all(), где votes = models.IntegerField()
[01:39:45] remo: хорошо, выбираем
[01:39:51] remo: p1 = Vote.objects.all()
[01:40:34] remo: print type(p1[0])
[01:40:40] remo: <class 'apps.vote.models.Vote'>
[01:40:51] remo: а как мне получить int ?
[01:40:57] remo: преоброзовать не даёт
[01:41:26] slav0nic is now online
[01:41:54] remo: *преобразовать)
[02:12:02] slav0nic is now online
[02:12:02] Tony is now xa
[02:12:02] best is now xa
[02:12:02] bliznezz is now away
[02:12:02] emese is now online
[02:12:02] ds.tihonov is now дома! :)
[02:12:02] remo is now online
[02:12:02] mrDoctorWho is now online
[02:12:02] RanWise is now online
[02:12:02] ambush is now online
[02:12:02] fuzzy is now online
[02:12:02] AlexZenon is now xa
[02:12:02] Magister_Yoda_at_work is now away
[02:12:02] magic_pony is now online
[02:12:02] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[02:16:38] RanWise is now offline
[02:16:42] RanWise is now online
[02:17:58] mrDoctorWho is now offline
[02:40:34] RanWise is now offline
[02:40:38] RanWise is now online
[02:41:35] slav0nic is now offline
[02:56:48] RanWise is now offline
[02:56:55] RanWise is now online
[02:59:31] AlexZenon is now offline
[03:14:07] gigimon is now online
[03:20:33] fuzzy is now offline
[03:20:34] fuzzy is now online
[03:22:13] emese is now offline
[03:26:31] singularity is now online
[03:26:42] RanWise is now offline
[03:47:22] fuzzy is now offline
[03:47:23] fuzzy is now online
[03:52:40] singularity is now offline
[04:01:19] ambush is now away
[04:03:22] fuzzy is now away
[04:08:25] ambush is now online
[04:13:08] fuzzy is now away
[04:21:21] fuzzy is now online
[04:22:16] fuzzy: p1[0].votes
[04:26:55] fuzzy is now online
[04:28:02] ambush is now offline
[04:30:34] remo: fuzzy:
def random_photo(self):
return random.choice(self.advert_photo.all())
[04:30:59] remo: как эту функцию(которая есть в models.py вызвать из вьюхи ?
[04:30:59] fuzzy: false
[04:31:21] fuzzy: bvgjhnbhjdfnm vjltkm
[04:31:29] fuzzy: импортировать модель
[04:31:53] remo: fuzzy: print Advert.random_photo()
[04:32:00] remo: это видимо неправильно
[04:32:11] fuzzy: оно тебе говорит, почему не правильно
[04:32:21] fuzzy: Гтищгтв ьуерщв ююю
[04:32:26] fuzzy: Unbound method..
[04:32:28] remo: da
[04:32:45] remo: unbound method random_photo() must be called with Advert instance as first argument (got nothing instead)
[04:33:03] fuzzy: значит чтобы вызвать метод тебе нужен инстанс класса
[04:33:19] fuzzy: а иначе - это другой вид методов
[04:33:26] fuzzy: статические методы, или методы класса
[04:33:29] fuzzy: почитай про ООП
[04:36:56] fuzzy is now online
[04:52:12] singularity is now online
[04:55:28] singularity: remo: у вас в городе есть какое движение ?
[05:13:09] gigimon is now offline
[05:35:51] singularity is now online
[05:39:43] fuzzy is now online
[05:40:46] singularity is now online
[05:47:08] gigimon is now online
[05:49:38] gigimon is now offline
[05:49:43] fuzzy is now away
[05:54:47] remo: singularity: телевизор не смотрю, на улицу не хожу
[05:54:56] remo: российский флаг уже повесили на гос адм
[05:55:30] singularity: remo: так ты уже имигрировал считай :D
[05:56:07] singularity: Сколько народа мечтает завести трактор, а тебе считай на халяву упало
[05:56:57] singularity: remo: ты ж с Харькова ?
[05:57:18] Tony is now online
[06:02:14] singularity is now offline
[06:07:24] singularity is now online
[06:13:29] Magister Yoda is now online
[06:14:21] Magister Yoda is now online
[06:29:04] Tony is now away
[06:32:51] Magister Yoda is now online
[06:34:24] gigimon is now online
[06:36:01] fuzzy is now away
[06:36:54] gigimon is now offline
[06:38:42] remo: singularity: Луганск
[06:42:34] remo: singularity: врядли. России мы нафиг не нужны
[06:42:47] remo: singularity: ну а ты как ко всему этому относишься ?
[06:45:09] singularity: Я войны не хочу. Пусть делять Крым мирным путем
[06:45:56] singularity: remo: http://cs424526.vk.me/v424526116/8f61/AT0FCgOttFY.jpg
[06:54:04] Tony is now xa
[07:09:39] remo: singularity: я родился на этой земле и на этой земле смерть встретит меня
[07:10:45] remo: singularity: дело в другом. Что эта страна ущимляет права людей, к примеру юго-восток весь русскоязычный. Тут живут люди русские. Не русифицированные никем. Просто русские люди. А берут и украинский подсовывают
[07:11:00] remo: радио, телевиденье, оформление документов
[07:11:30] remo: уважать людей надо. Переход от русс языка к укр не одно поколение будет. Почему надо ломать и рубить с плеча ?
[07:26:16] singularity is now offline
[07:44:02] Magister Yoda is now offline
[07:53:33] singularity is now online
[07:54:25] singularity: remo: я не в курсе как у вас ущемляют рускоязычных
[07:55:29] singularity: remo: а раньше у вас телевидение было исключительно на русском ?
[08:00:46] remo: singularity: до 2004 да
[08:02:12] singularity: remo: ну так повод учить. )
[08:03:17] singularity: у нас на обеих языках, кстати. Ну то есть один канал, а фильми, реклама, новости могут на рандомно выбраных языках
[08:03:29] singularity: http://www.bbc.co.uk/ukrainian/multimedia/2014/03/140301_crimea_parliament_seizure_ag.shtml
[08:15:43] remo: singularity: повод учить ?:) Да знаю я его, просто напрягает меня этот "язык"
[08:15:50] singularity: меня тоже
[08:18:42] singularity: remo: Новости из Севастополя
Гражданской войны у нас пока еще нет. Но брожениее в массах есть. Хохлов меньшинство и устраивать майданы они здесь откровенно ссут, потому что выхватят даже не от властей, а от населения. В знак протеста, решил выкинуть с балкона шматок сала, что завалялся в холодильнике. Открыл окно, и надо ж было откусить на последок кусочек i все забарвилося в жовтий і синій. Я відправився зносити пам'ятник Леніну і розмахувати прапором. Не віддам Крим російським загарбникам!
[08:30:02] singularity: remo: вот товарищ за переворот в Росси http://dou.ua/forums/topic/9328/#437575
[08:31:46] remo: singularity: а правый сектор открыто призывает тоже самое людям устроить в роиссе
[08:33:51] singularity: Ничего не будет. Россияне вроде как поддерживают путина, ну или им тупо пофиг.
[08:34:58] singularity: remo: крымчане сами позвали русских и помощи от украины не просят. Как думаешь харьков, луганск тоже перейдут к россии ?
[08:39:25] singularity: http://fotohost.org/preview/a1449d39.jpg
[09:07:18] remo: singularity: если открыть историю, то украина - это как раз западная часть
[09:07:33] remo: singularity: которая всегда лежала под Польшей:)
[09:13:51] remo: singularity: меня если честно другой вопрос интересует.
[09:14:03] singularity: remo: и ?
[09:14:18] remo: singularity: где найти ранние альбомы Елены Терлеевой во flac
[09:15:14] singularity: remo: ну ты упорот xD
[09:15:21] singularity: ты такое слушаешь ?
[09:16:21] remo: singularity: есть пару песен классных
[09:16:30] remo: singularity: я вообще много чего слушаю
[09:17:16] singularity: Реальные парни слушают шансон митол !
[09:24:51] remo: singularity: а ты какого года выпуска ?
[09:25:31] singularity is now offline
[09:25:31] singularity is now online
[09:30:08] remo: singularity: 1984 года
[09:33:37] singularity: remo: ну ты старый. Мне к Вам на "Вы" обращаться ?
[09:37:20] singularity is now offline
[09:37:39] remo: singularity: скотина ты невоспитанная:)
[09:37:49] remo: singularity: нельзя такое людЯм говорить)
[09:43:32] Tony is now online
[09:58:43] mrDoctorWho is now online
[10:28:49] Tony is now online
[10:28:49] best is now xa
[10:28:49] bliznezz is now away
[10:28:49] ds.tihonov is now дома! :)
[10:28:49] mrDoctorWho is now online
[10:28:49] remo is now online
[10:28:49] fuzzy is now away
[10:28:49] Magister_Yoda_at_work is now away
[10:28:49] magic_pony is now online
[10:28:49] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[10:31:12] fuzzy is now away
[10:57:38] remo is now offline
[10:59:32] fuzzy is now away
[10:59:32] fuzzy is now online
[11:03:01] fuzzy is now online
[11:15:47] mrDoctorWho is now away
[11:16:02] mrDoctorWho is now online
[11:18:30] AlexZenon is now online
[11:20:34] fuzzy is now online
[11:28:18] fuzzy is now online
[11:33:09] RanWise is now online
[11:38:49] fuzzy is now online
[11:45:41] fuzzy is now online
[11:55:47] fuzzy is now online
[12:05:14] mrDoctorWho is now away
[12:05:49] fuzzy is now away
[12:16:15] fuzzy is now away
[12:25:14] mrDoctorWho is now xa
[12:25:42] fuzzy is now away
[12:25:51] remo is now online
[12:26:54] mrDoctorWho is now online
[12:29:13] slav0nic is now online
[12:32:53] fuzzy is now away
[12:32:53] fuzzy is now online
[12:43:32] fuzzy is now online
[12:52:45] Tony is now offline
[12:53:32] fuzzy is now away
[12:53:42] fuzzy is now away
[12:53:42] fuzzy is now online
[12:56:44] Tony is now online
[12:59:08] RanWise is now away
[12:59:52] RanWise is now online
[13:03:42] fuzzy is now online
[13:05:33] slav0nic is now away
[13:05:49] ambush is now online
[13:07:17] fuzzy is now online
[13:13:43] slav0nic is now online
[13:15:21] RanWise is now away
[13:16:55] remo is now offline
[13:17:17] fuzzy is now online
[13:17:49] fuzzy is now online
[13:18:43] slav0nic is now away
[13:28:43] slav0nic is now xa
[13:35:22] RanWise is now xa
[13:40:03] slav0nic is now online
[13:46:41] fuzzy is now online
[13:48:31] fuzzy is now online
[13:48:36] ambush is now away
[13:52:53] fuzzy is now online
[13:58:36] ambush is now xa
[14:03:46] ambush is now online
[14:10:13] fuzzy is now online
[14:10:14] ambush is now away
[14:19:39] fuzzy is now online
[14:20:14] ambush is now xa
[14:21:06] ambush is now online
[14:22:31] fuzzy: "я родился на этой земле и на этой земле смерть встретит меня" зачем же так ограничивать себя? смотри шире
[14:23:43] slav0nic is now away
[14:24:18] fuzzy: прошли же уже времена средневековья, когда уехать с родной земли означало в большинстве случаев никогда не вернуться, не увидеть свою семью, скорее всего попасть на разбойников по дороге, а в лучшем случае - прийти на новую землю никому не нужным
[14:25:22] fuzzy: глобализация, всё такое.
[14:27:18] remo is now online
[14:29:59] gigimon is now online
[14:33:43] slav0nic is now xa
[14:34:53] fuzzy is now online
[14:35:06] ambush is now away
[14:44:00] ambush is now online
[14:44:53] fuzzy is now away
[14:45:18] fuzzy is now away
[14:45:18] fuzzy is now online
[14:59:43] ambush is now offline
[15:13:31] fuzzy is now online
[15:13:57] aki is now online
[15:22:55] fuzzy is now online
[15:27:36] fuzzy is now online
[15:27:53] fuzzy is now online
[15:36:46] mrDoctorWho is now away
[15:39:55] огыешсук is now online
[15:40:26] mrDoctorWho is now online
[15:40:29] mrDoctorWho is now offline
[15:43:08] slav0nic is now offline
[15:43:11] fuzzy is now online
[15:53:11] fuzzy is now away
[16:07:56] mishok13 is now online
[16:10:45] RanWise is now online
[16:19:42] RanWise is now offline
[16:19:43] RanWise is now online
[16:19:44] aki is now away
[16:21:49] fuzzy is now away
[16:30:44] fuzzy is now away
[16:30:44] fuzzy is now online
[16:38:14] fuzzy is now online
[16:39:08] огыешсук is now away
[16:39:09] огыешсук is now online
[16:39:44] aki is now xa
[16:40:44] fuzzy is now online
[16:42:16] fuzzy is now online
[16:45:19] fuzzy is now online
[16:52:26] fuzzy is now online
[16:55:19] fuzzy is now online
[16:56:36] slav0nic is now xa
[16:56:51] slav0nic is now online
[16:57:19] slav0nic is now offline
[16:57:35] slav0nic is now online
[16:59:04] yugo-salem is now online
[17:02:13] fuzzy is now online
[17:10:32] Tony is now away
[17:11:43] emese is now online
[17:18:03] огыешсук is now away
[17:18:19] mrDoctorWho is now online
[17:20:46] огыешсук is now online
[17:28:23] mrDoctorWho is now away
[17:29:28] RanWise is now offline
[17:29:35] RanWise is now online
[17:30:57] mrDoctorWho is now online
[17:31:18] mrDoctorWho is now offline
[17:31:28] mrDoctorWho is now online
[17:31:50] aki is now online
[17:35:32] Tony is now xa
[18:02:24] Tony is now online
[18:32:33] slav0nic is now online
[18:32:33] Tony is now online
[18:32:33] best is now xa
[18:32:33] bliznezz is now away
[18:32:33] yugo-salem is now online
[18:32:33] emese is now online
[18:32:33] ds.tihonov is now дома! :)
[18:32:33] mrDoctorWho is now online
[18:32:33] remo is now online
[18:32:33] RanWise is now online
[18:32:33] aki is now online
[18:32:33] mishok13 is now online
[18:32:33] gigimon is now online
[18:32:33] fuzzy is now online
[18:32:33] AlexZenon is now online
[18:32:33] Magister_Yoda_at_work is now away
[18:32:33] огыешсук is now online
[18:32:33] magic_pony is now online
[18:32:33] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[18:40:37] RanWise is now away
[18:44:28] RanWise is now online
[18:51:41] aki is now away
[19:06:47] gigimon is now offline
[19:11:41] aki is now xa
[19:12:28] emese is now away
[19:12:29] emese is now away
[19:12:38] emese is now away
[19:12:38] emese is now online
[19:14:57] aki is now online
[19:22:19] slav0nic is now away
[19:27:56] aki is now away
[19:31:49] fuzzy is now online
[19:32:19] slav0nic is now xa
[19:35:33] fuzzy is now online
[19:37:37] slav0nic is now online
[19:38:10] aki is now online
[19:38:47] fuzzy is now online
[19:39:51] fuzzy is now online
[19:47:11] slav0nic is now away
[19:50:04] singularity is now online
[19:56:15] singularity: remo: lol http://newsoboz.org/mir/kitay-zaregistriroval-zakonoproekt-o-prisoedinenii-rossiyskih-02032014115300
[19:57:11] slav0nic is now xa
[20:04:03] огыешсук: логично
[20:19:45] slav0nic is now online
[20:23:10] levsha is now online
[20:33:38] fuzzy is now online
[20:34:48] fuzzy is now online
[20:37:37] slav0nic is now away
[20:44:48] fuzzy is now away
[20:47:37] slav0nic is now xa
[20:47:59] fuzzy is now away
[20:49:14] fuzzy is now away
[20:49:14] fuzzy is now online
[20:52:51] RanWise is now offline
[20:52:52] RanWise is now online
[20:57:35] aki is now away
[20:59:14] fuzzy is now online
[21:05:34] aki is now online
[21:05:42] fuzzy is now online
[21:08:44] levsha is now offline
[21:19:31] slav0nic is now offline
[21:27:03] Tony: singularity, клево
[21:28:26] levsha is now online
[21:43:55] singularity is now away
[21:43:57] singularity is now away
[21:46:36] singularity is now away
[21:46:36] singularity is now online
[21:46:55] levsha is now away
[21:47:04] slav0nic is now online
[21:47:48] slav0nic is now offline
[21:48:05] slav0nic is now online
[21:52:43] slav0nic is now away
[21:55:32] levsha is now offline
[21:56:58] aki is now away
[21:57:33] aki is now online
[22:00:16] levsha is now online
[22:00:54] mrDoctorWho is now away
[22:01:54] gigimon is now online
[22:02:43] slav0nic is now xa
[22:08:13] aki is now away
[22:13:37] mrDoctorWho is now online
[22:15:54] RanWise is now away
[22:28:13] aki is now xa
[22:33:37] RanWise is now online
[22:33:46] slav0nic is now offline
[22:37:43] levsha is now away
[22:41:06] mrDoctorWho is now offline
[22:44:35] levsha is now offline
[22:46:13] aki is now online
[22:47:00] fuzzy is now online
[22:47:37] levsha is now online
[22:48:28] levsha is now online
[22:57:00] fuzzy is now away
[23:01:09] levsha is now offline
[23:05:44] singularity is now online
[23:13:51] fuzzy is now away
[23:13:51] fuzzy is now online
[23:27:48] singularity is now online
[23:35:42] огыешсук is now offline
[23:37:36] fuzzy is now online
[23:37:58] fuzzy is now online
[23:43:51] RanWise is now offline
[23:50:03] fuzzy is now online
[23:54:59] AlexZenon is now xa
[23:55:07] aki is now offline
[23:55:51] ambush is now online
[23:56:26] singularity is now online