[00:01:35] slav0nic: gigimon, давно не юзал (и не совсем понял проблему)
попробуй по тестам разобраться) https://github.com/tabo/django-treebeard/blob/master/treebeard/tests/test_treebeard.py
[00:02:19] gigimon: да чет не нашел по тестам
[00:02:24] slav0nic: +там был tbbench
[00:02:29] slav0nic: аля mptt
[00:02:36] slav0nic: и примеры на treebeard
[00:02:52] gigimon: https://gist.github.com/gigimon/8bbfbcd8b7a2b75b4199
[00:02:56] gigimon: вот такая модель
[00:03:05] gigimon: мне надо получать дерево только определенного юзера
[00:03:18] slav0nic: https://github.com/tabo/django-treebeard/tree/1.61
[00:03:24] slav0nic: в старом бранче валяется
[00:05:17] gigimon: чет не фонтан получается
[00:06:58] madmercen is now away
[00:07:16] fuzzy is now away
[00:07:17] fuzzy is now away
[00:09:54] slav0nic: у тебя есть то что ты хочешь на mptt?)
[00:11:17] gigimon: да)
[00:11:21] gigimon: поэтому вернусь на него))
[00:11:57] slav0nic: ну покажи как в нём
[00:12:56] gigimon: я пока в нем не сделал это
[00:12:59] gigimon: чтоб показать
[00:13:42] madmercen is now online
[00:14:01] gigimon: но в treebeard я не понял, как получать деревья по каким-то параметрам (в моем случае по юзеру) и потом выводить их. Т.к. если делать get_tree, то выводится вообще все дерево из базы
[00:14:35] gigimon: если получить рут, то получить только его дерево нельзя, а можно детей, но тогда строить сам вывод надо ручками
[00:16:33] gigimon: хотя так думаю, можно все и написать
[00:21:52] madmercen is now away
[00:21:58] madmercen is now online
[00:32:16] madmercen is now away
[00:40:16] madmercen is now xa
[00:44:19] slav0nic: gigimon, ну а что мешает сделать тупо filter(user=..., depth=1) и дальше уже от этих нод скакать
[00:45:03] gigimon: ну вот так можно =\
[00:45:47] slav0nic: а ты я так понимаю хочешь получить кверисет и по нему все дерево?
[00:45:59] madmercen is now online
[00:46:01] slav0nic: типа кверисет с корнями для юзера и его детьми
[00:46:33] gigimon: тип того
[00:46:44] gigimon: mptt более django-like
[00:46:53] gigimon: trebeard легче, но нифига не django-like
[00:47:06] gigimon: в общем пока решаю :)
[00:53:29] MaXGGXaM is now away
[01:01:25] slav0nic: gigimon, эм ну а CostCategory.get_root_nodes().filter(user=1)
[01:02:05] gigimon: дада, до такого я тож дошел
[01:02:12] gigimon: slav0nic: в общем я сижу репу чешу
[01:02:19] gigimon: где меньше писать придется :)
[01:02:34] gigimon: treebeard вроде проще
[01:07:08] AlexZenon is now xa
[01:14:55] gigimon is now offline
[01:24:43] remo is now online
[01:25:56] slav0nic is now offline
[01:26:04] remo is now offline
[01:39:00] blw0rm is now offline
[02:09:04] : Используемый вами псевдоним не зарегистрирован
[02:09:04] MaXGGXaM is now away
[02:09:04] madmercen is now online
[02:09:04] fuzzy is now away
[02:09:04] AlexZenon is now xa
[02:09:04] magic_pony is now online
[02:39:16] : Используемый вами псевдоним не зарегистрирован
[02:39:16] MaXGGXaM is now away
[02:39:16] madmercen is now online
[02:39:16] fuzzy is now away
[02:39:16] AlexZenon is now xa
[02:39:16] magic_pony is now online
[03:09:19] madmercen is now away
[03:17:19] madmercen is now xa
[03:43:19] fuzzy is now away
[03:43:22] fuzzy is now online
[04:00:49] madmercen is now online
[04:11:09] madmercen is now away
[04:15:55] madmercen is now online
[04:15:59] fuzzy is now away
[04:16:00] fuzzy is now away
[04:26:11] madmercen is now away
[04:26:49] madmercen is now online
[04:56:52] : Используемый вами псевдоним не зарегистрирован
[04:56:52] MaXGGXaM is now away
[04:56:52] madmercen is now online
[04:56:52] fuzzy is now away
[04:56:52] AlexZenon is now xa
[04:56:52] magic_pony is now online
[05:27:03] : Используемый вами псевдоним не зарегистрирован
[05:27:03] MaXGGXaM is now away
[05:27:03] madmercen is now online
[05:27:03] fuzzy is now away
[05:27:03] AlexZenon is now xa
[05:27:03] magic_pony is now online
[05:57:14] : Используемый вами псевдоним не зарегистрирован
[05:57:14] MaXGGXaM is now away
[05:57:14] madmercen is now online
[05:57:14] fuzzy is now away
[05:57:14] AlexZenon is now xa
[05:57:14] magic_pony is now online
[06:27:26] : Используемый вами псевдоним не зарегистрирован
[06:27:26] MaXGGXaM is now away
[06:27:26] madmercen is now online
[06:27:26] fuzzy is now away
[06:27:26] AlexZenon is now xa
[06:27:26] magic_pony is now online
[06:52:59] MaXGGXaM is now http://youtu.be/WATqxc49eZc http://youtu.be/8m8VlyWDC-M
[07:14:34] MaXGGXaM is now away
[07:44:39] : Используемый вами псевдоним не зарегистрирован
[07:44:39] MaXGGXaM is now away
[07:44:39] madmercen is now online
[07:44:39] fuzzy is now away
[07:44:39] AlexZenon is now xa
[07:44:39] magic_pony is now online
[08:14:51] : Используемый вами псевдоним не зарегистрирован
[08:14:51] MaXGGXaM is now away
[08:14:51] fuzzy is now away
[08:14:51] madmercen is now online
[08:14:51] AlexZenon is now xa
[08:14:51] magic_pony is now online
[08:17:08] dicos is now online
[08:20:26] dicos is now away
[08:20:28] dicos is now away
[08:25:21] dicos is now away
[08:25:22] dicos is now online
[08:42:03] dicos is now away
[08:42:05] dicos is now away
[08:47:09] dicos is now away
[08:47:10] dicos is now online
[08:52:09] dicos is now away
[08:52:10] dicos is now away
[08:52:37] dicos is now away
[08:52:37] dicos is now online
[09:22:44] : Используемый вами псевдоним не зарегистрирован
[09:22:44] MaXGGXaM is now away
[09:22:44] madmercen is now online
[09:22:44] fuzzy is now away
[09:22:44] AlexZenon is now xa
[09:22:44] dicos is now online
[09:22:44] magic_pony is now online
[09:29:21] dicos is now away
[09:29:23] dicos is now away
[09:34:27] dicos is now away
[09:34:28] dicos is now online
[10:01:34] dicos is now away
[10:01:35] dicos is now away
[10:06:33] dicos is now away
[10:06:34] dicos is now online
[10:19:02] fuzzy is now away
[10:34:51] levsha is now online
[10:43:42] dicos is now away
[10:43:43] dicos is now away
[10:48:45] dicos is now away
[10:48:46] dicos is now online
[10:50:54] levsha is now offline
[11:21:00] : Используемый вами псевдоним не зарегистрирован
[11:21:00] MaXGGXaM is now away
[11:21:00] madmercen is now online
[11:21:00] fuzzy is now away
[11:21:00] AlexZenon is now xa
[11:21:00] dicos is now online
[11:21:00] magic_pony is now online
[11:44:05] levsha is now online
[11:49:49] gigimon is now online
[12:03:46] remo is now online
[12:04:53] gigimon is now online
[12:09:49] gigimon is now away
[12:10:40] gigimon is now away
[12:10:54] slav0nic is now away
[12:15:14] fuzzy is now away
[12:15:28] fuzzy is now online
[12:16:35] remo is now away
[12:20:47] slav0nic is now online
[12:21:35] fuzzy is now offline
[12:23:53] gigimon is now away
[12:29:22] remo is now online
[12:31:47] dicos is now away
[12:31:48] dicos is now away
[12:34:41] dicos is now away
[12:34:42] dicos is now online
[12:40:31] remo is now away
[12:42:43] dicos is now away
[12:42:45] dicos is now away
[12:45:59] gigimon is now away
[12:45:59] gigimon is now online
[12:46:28] dicos is now away
[12:46:29] dicos is now online
[12:49:29] remo is now online
[12:54:17] slav0nic is now away
[12:56:08] slav0nic is now online
[12:56:10] fuzzy is now online
[12:56:27] dicos is now away
[12:56:29] dicos is now away
[13:00:22] remo is now away
[13:01:33] dicos is now away
[13:01:34] dicos is now online
[13:05:10] levsha is now offline
[13:05:14] levsha is now online
[13:05:28] levsha is now offline
[13:06:34] dicos is now away
[13:06:36] dicos is now away
[13:06:48] remo is now online
[13:15:47] gigimon is now online
[13:16:49] remo is now away
[13:20:02] levsha is now online
[13:20:50] gigimon is now away
[13:24:22] gigimon is now away
[13:24:22] gigimon is now online
[13:43:52] dicos is now away
[13:43:53] dicos is now online
[13:46:01] remo is now online
[13:56:02] remo is now away
[13:56:44] remo is now online
[14:01:29] levsha is now offline
[14:06:44] remo is now away
[14:19:48] levsha is now online
[14:28:53] levsha is now offline
[14:31:25] dicos is now away
[14:31:27] dicos is now away
[14:36:16] dicos is now away
[14:36:17] dicos is now online
[14:47:16] AlexZenon is now online
[15:17:21] : Используемый вами псевдоним не зарегистрирован
[15:17:21] slav0nic is now online
[15:17:21] MaXGGXaM is now away
[15:17:21] madmercen is now online
[15:17:21] remo is now away
[15:17:21] fuzzy is now online
[15:17:21] gigimon is now online
[15:17:21] AlexZenon is now online
[15:17:21] dicos is now online
[15:17:21] magic_pony is now online
[15:25:26] dicos is now away
[15:25:28] dicos is now away
[15:30:32] dicos is now away
[15:30:33] dicos is now online
[15:35:32] dicos is now away
[15:35:34] dicos is now away
[15:39:32] dicos is now away
[15:39:33] dicos is now online
[15:59:32] gigimon is now online
[16:00:41] gigimon is now online
[16:03:54] fuzzy is now away
[16:05:33] levsha is now online
[16:08:39] tachiorz is now online
[16:13:54] fuzzy is now away
[16:14:09] fuzzy is now away
[16:14:40] fuzzy is now away
[16:18:38] tachiorz is now away
[16:18:38] tachiorz is now away
[16:19:40] slav0nic is now away
[16:22:23] slav0nic is now online
[16:29:50] tachiorz is now away
[16:29:50] tachiorz is now online
[16:44:01] dicos is now away
[16:44:02] dicos is now away
[16:46:43] dicos is now away
[16:46:44] dicos is now online
[16:58:25] fuzzy is now away
[16:58:27] fuzzy is now online
[16:59:49] fuzzy is now away
[16:59:57] fuzzy is now online
[17:04:31] gigimon is now offline
[17:20:21] blw0rm is now online
[17:22:20] levsha is now offline
[17:28:06] slav0nic is now away
[17:28:59] levsha is now online
[17:37:16] slav0nic is now online
[17:40:53] MaXGGXaM is now http://youtu.be/WATqxc49eZc http://youtu.be/8m8VlyWDC-M
[17:42:22] slav0nic is now away
[17:45:44] slav0nic is now online
[17:51:00] slav0nic is now away
[17:58:34] fuzzy is now away
[18:01:00] slav0nic is now xa
[18:09:04] fuzzy is now away
[18:11:25] remo is now offline
[18:15:57] blw0rm is now away
[18:16:06] blw0rm is now online
[18:21:16] slav0nic is now online
[18:35:10] levsha is now offline
[18:37:48] slav0nic is now away
[18:37:55] levsha is now online
[18:46:26] fuzzy is now away
[18:46:29] fuzzy is now online
[18:47:48] slav0nic is now xa
[18:49:09] dicos is now away
[18:49:10] dicos is now away
[18:51:39] dicos is now away
[18:51:40] dicos is now online
[18:52:08] slav0nic is now online
[18:59:00] MaXGGXaM is now away
[18:59:14] MaXGGXaM is now http://youtu.be/WATqxc49eZc http://youtu.be/8m8VlyWDC-M
[18:59:40] MaXGGXaM is now away
[19:00:13] MaXGGXaM is now http://youtu.be/WATqxc49eZc http://youtu.be/8m8VlyWDC-M
[19:02:24] dicos is now away
[19:02:26] dicos is now away
[19:03:33] dicos is now away
[19:03:34] dicos is now online
[19:06:08] blw0rm is now away
[19:06:09] blw0rm is now online
[19:08:45] dicos is now away
[19:08:47] dicos is now away
[19:10:30] dicos is now away
[19:10:31] dicos is now online
[19:15:41] dicos is now offline
[19:16:58] slav0nic is now away
[19:20:22] fuzzy is now away
[19:20:51] fuzzy is now offline
[19:24:29] fuzzy is now away
[19:24:31] fuzzy is now online
[19:24:48] slav0nic is now online
[19:25:57] tachiorz is now away
[19:25:57] tachiorz is now away
[19:26:36] fuzzy is now away
[19:28:05] fuzzy is now offline
[19:28:22] fuzzy is now away
[19:28:25] fuzzy is now online
[19:30:24] tachiorz is now away
[19:30:24] tachiorz is now online
[19:36:51] remo is now online
[19:46:51] remo is now away
[20:09:55] levsha is now offline
[20:11:59] levsha is now online
[20:14:30] slav0nic is now away
[20:22:58] slav0nic is now online
[20:31:47] slav0nic is now away
[20:36:50] levsha is now offline
[20:41:47] slav0nic is now xa
[20:44:11] fuzzy is now offline
[20:56:01] slav0nic is now online
[20:57:59] tachiorz is now offline
[21:02:37] slav0nic is now away
[21:07:07] slav0nic is now online
[21:09:42] gigimon is now online
[21:18:52] fuzzy is now online
[21:26:36] blw0rm is now away
[21:28:43] slav0nic is now away
[21:38:43] slav0nic is now xa
[21:44:18] fuzzy is now away
[21:44:19] fuzzy is now away
[21:44:32] fuzzy is now away
[21:45:03] fuzzy is now away
[21:47:57] slav0nic is now online
[21:55:42] fuzzy is now away
[21:55:44] fuzzy is now online
[21:56:42] remo is now online
[22:01:23] slav0nic is now away
[22:03:38] blw0rm is now online
[22:05:01] slav0nic is now online
[22:07:08] remo is now away
[22:07:27] remo is now online
[22:10:21] slav0nic is now away
[22:18:00] remo is now away
[22:18:43] slav0nic is now online
[22:29:41] fuzzy is now online
[22:38:47] slav0nic is now away
[22:41:32] fuzzy is now online
[22:47:10] madmercen is now away
[22:47:42] madmercen is now online
[22:48:47] slav0nic is now xa
[22:51:39] levsha is now online
[23:02:55] fuzzy is now online
[23:06:41] fuzzy is now online
[23:28:52] levsha is now offline
[23:42:17] AlexZenon is now xa
[23:48:00] gigimon is now online