{"action":"created","issue":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3897","repository_url":"https://api.github.com/repos/zestedesavoir/zds-site","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3897/labels{/name}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3897/comments","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3897/events","html_url":"https://github.com/zestedesavoir/zds-site/issues/3897","id":185233490,"number":3897,"title":"Résoudre les TODO","user":{"login":"vhf","id":2022803,"avatar_url":"https://avatars.githubusercontent.com/u/2022803?v=3","gravatar_id":"","url":"https://api.github.com/users/vhf","html_url":"https://github.com/vhf","followers_url":"https://api.github.com/users/vhf/followers","following_url":"https://api.github.com/users/vhf/following{/other_user}","gists_url":"https://api.github.com/users/vhf/gists{/gist_id}","starred_url":"https://api.github.com/users/vhf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhf/subscriptions","organizations_url":"https://api.github.com/users/vhf/orgs","repos_url":"https://api.github.com/users/vhf/repos","events_url":"https://api.github.com/users/vhf/events{/privacy}","received_events_url":"https://api.github.com/users/vhf/received_events","type":"User","site_admin":false},"labels":[{"id":104879870,"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/C-Back","name":"C-Back","color":"207de5","default":false},{"id":468810622,"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/S-Refactorisation","name":"S-Refactorisation","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-10-25T21:04:16Z","updated_at":"2016-11-01T10:46:30Z","closed_at":null,"body":"- [forum/models.py L32](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/models.py#L32)\r\n  - [x] `TODO: what is the usage of this function?`\r\n- [forum/models.py L104](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/models.py#L104)\r\n  - [x] `# TODO: A forum defines an image, but it doesn't seems to be used...`\r\n- [forum/models.py L214](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/models.py#L214)\r\n  - [ ] `# TODO: 1. Use a better name, 2. maybe there can be a cleaner way to do this`\r\n- [forum/models.py L258](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/models.py#L258)\r\n  - [ ] `# TODO: Force relation with author here is strange. Probably linked with the`get_last_answer`function that`\r\n- [forum/models.py L361](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/models.py#L361)\r\n  - [x] `# TODO: Why 2 nearly-identical functions? What is the functional need of these 2 things?`\r\n- [forum/models.py L456](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/models.py#L456)\r\n  - [ ] `# TODO: ça a l'air d'être OK en base, mais ne devrait-il pas y avoir une contrainte unique sur (topic, user) ?`\r\n- [forum/models.py L470](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/models.py#L470)\r\n  - [x] `# TODO semble inutilisé (et peu efficace dans la manière de faire)`\r\n- [forum/models.py L509](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/models.py#L509)\r\n  - [ ] `# TODO: voilà entre autres pourquoi il devrait y avoir une contrainte unique sur (topic, user) sur TopicRead.`\r\n- [forum/tests/tests_feeds.py L282](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/tests/tests_feeds.py#L282)\r\n  - [ ] `# TODO : Fix this test, bug cause of markdown :(`\r\n- [forum/views.py L643](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/views.py#L643)\r\n  - [ ] `# TODO suggestions de recherche auto lors d'un nouveau topic, cf issues #99 et #580. Actuellement désactivées :(`\r\n- [forum/views.py L648](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/forum/views.py#L648)\r\n  - [ ] `# TODO: WTF \"sqs\" ?!`\r\n- [member/forms.py L327](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/forms.py#L327)\r\n  - [ ] `# TODO: Updates the password --> requires a better name`\r\n- [member/models.py L68](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/models.py#L68)\r\n  - [ ] `# TODO: Change this name. This is a boolean: \"true\" is \"hover\" or \"click\" ?!`\r\n- [member/models.py L76](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/models.py#L76)\r\n  - [ ] `# TODO: bad field name (singular --> should be plural), manually handled multi-valued field.`\r\n- [member/models.py L331](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/models.py#L331)\r\n  - [ ] `# TODO: improve this method's name?`\r\n- [member/models.py L453](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/models.py#L453)\r\n  - [ ] `# TODO: Seems unused`\r\n- [member/models.py L505](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/models.py#L505)\r\n  - [ ] `# TODO: coherence, \"staff\" is called \"moderator\" in Ban model.`\r\n- [member/models.py L507](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/models.py#L507)\r\n  - [ ] `# TODO: coherence, \"comment\" is called \"text\" in Ban model.`\r\n- [member/models.py L510](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/models.py#L510)\r\n  - [ ] `# TODO: coherence, \"create_at\" is called \"pubdate\" in Ban model.`\r\n- [member/tests/tests_models.py L268](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/tests/tests_models.py#L268)\r\n  - [ ] `# TODO Some conditions still need to be tested`\r\n- [member/tests/tests_models.py L275](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/tests/tests_models.py#L275)\r\n  - [ ] `# TODO Some conditions still need to be tested`\r\n- [member/views.py L59](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/member/views.py#L59)\r\n  - [ ] `# TODO When User will be no more used, you can make this request with`\r\n- [tutorialv2/models/models_versioned.py L282](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/tutorialv2/models/models_versioned.py#L282)\r\n  - [ ] `# TODO : path comparison instead of pure rewritring ?`\r\n- [tutorialv2/views/views_validations.py L40](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/tutorialv2/views/views_validations.py#L40)\r\n  - [ ] `# TODO: many filter at the same time ?`\r\n- [tutorialv2/views/views_validations.py L41](https://github.com/zestedesavoir/zds-site/blob/7da461ca96090252972b9e4b6e379f400b3c5f45/zds/tutorialv2/views/views_validations.py#L41)\r\n  - [ ] `# TODO: paginate ?`\r\n"},"comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments/257537121","html_url":"https://github.com/zestedesavoir/zds-site/issues/3897#issuecomment-257537121","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3897","id":257537121,"user":{"login":"LudoBike","id":14591631,"avatar_url":"https://avatars.githubusercontent.com/u/14591631?v=3","gravatar_id":"","url":"https://api.github.com/users/LudoBike","html_url":"https://github.com/LudoBike","followers_url":"https://api.github.com/users/LudoBike/followers","following_url":"https://api.github.com/users/LudoBike/following{/other_user}","gists_url":"https://api.github.com/users/LudoBike/gists{/gist_id}","starred_url":"https://api.github.com/users/LudoBike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LudoBike/subscriptions","organizations_url":"https://api.github.com/users/LudoBike/orgs","repos_url":"https://api.github.com/users/LudoBike/repos","events_url":"https://api.github.com/users/LudoBike/events{/privacy}","received_events_url":"https://api.github.com/users/LudoBike/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T10:46:29Z","updated_at":"2016-11-01T10:46:29Z","body":"```python\r\n# TODO: WTF \"sqs\" ?!\r\nsqs = SearchQuerySet().filter(content=AutoQuery(request.GET.get('q'))).order_by('-pubdate').all()\r\n```\r\n\r\nsqs -> SearchQuerySet \r\n\r\nDu coup je renomme la variable ou je supprime juste le todo"}}
{"actor":{"display_login":"LudoBike"}}