{"action":"created","issue":{"url":"https://api.github.com/repos/machinalis/iepy/issues/83","labels_url":"https://api.github.com/repos/machinalis/iepy/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/machinalis/iepy/issues/83/comments","events_url":"https://api.github.com/repos/machinalis/iepy/issues/83/events","html_url":"https://github.com/machinalis/iepy/issues/83","id":95216760,"number":83,"title":"Labels with 'subcategories' + Easily Reset","user":{"login":"GilJ","id":143378,"avatar_url":"https://avatars.githubusercontent.com/u/143378?v=3","gravatar_id":"","url":"https://api.github.com/users/GilJ","html_url":"https://github.com/GilJ","followers_url":"https://api.github.com/users/GilJ/followers","following_url":"https://api.github.com/users/GilJ/following{/other_user}","gists_url":"https://api.github.com/users/GilJ/gists{/gist_id}","starred_url":"https://api.github.com/users/GilJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GilJ/subscriptions","organizations_url":"https://api.github.com/users/GilJ/orgs","repos_url":"https://api.github.com/users/GilJ/repos","events_url":"https://api.github.com/users/GilJ/events{/privacy}","received_events_url":"https://api.github.com/users/GilJ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-15T14:59:10Z","updated_at":"2015-07-16T13:00:46Z","closed_at":null,"body":"Hey guys,\r\n\r\nI've been using IEPY for a while now, and it works really well!\r\n\r\nI've got 2 questions\r\n- My labels have some subcategories, for example, I got some labels that fall in the ```unit``` category that has some subcategories, for example: ```unit_liquid```, ```unit_solid``` and ```unit_other```, is there any way for IEPY to support this? If not, I'll just script something in my preprocess script that removes the subcategory.\r\n- Is there an easy way to remove 'everything' i put into IEPY? I currently just ```rm -rf``` my IEPY folder, copy my preprocess script and csv and place everything in the right place. When I went to the /admin section and checked all documents in the 'ie documents' category to delete them, I got an error when actually deleting them (IE MetaData id was None for some document).\r\n\r\nThanks in advance,\r\nGilles"},"comment":{"url":"https://api.github.com/repos/machinalis/iepy/issues/comments/121949485","html_url":"https://github.com/machinalis/iepy/issues/83#issuecomment-121949485","issue_url":"https://api.github.com/repos/machinalis/iepy/issues/83","id":121949485,"user":{"login":"j0hn","id":172606,"avatar_url":"https://avatars.githubusercontent.com/u/172606?v=3","gravatar_id":"","url":"https://api.github.com/users/j0hn","html_url":"https://github.com/j0hn","followers_url":"https://api.github.com/users/j0hn/followers","following_url":"https://api.github.com/users/j0hn/following{/other_user}","gists_url":"https://api.github.com/users/j0hn/gists{/gist_id}","starred_url":"https://api.github.com/users/j0hn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0hn/subscriptions","organizations_url":"https://api.github.com/users/j0hn/orgs","repos_url":"https://api.github.com/users/j0hn/repos","events_url":"https://api.github.com/users/j0hn/events{/privacy}","received_events_url":"https://api.github.com/users/j0hn/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T13:00:46Z","updated_at":"2015-07-16T13:00:46Z","body":"Hi\r\n\r\n* IEPY does not support subcategories out of the box, as you said, i think you'll have to hack something in your preprocess. If you find a good solution, it would be great if you could share it with us!\r\n\r\n* IEPY uses Django, so If you're looking to delete all the data in the database you could use the command [flush](https://docs.djangoproject.com/en/1.7/ref/django-admin/#flush) like this:  `python bin/manage.py flush`\r\n\r\nHope it helps! Cheers."}}