{"action":"closed","issue":{"url":"https://api.github.com/repos/j-burgos/Flask-DbSeeder/issues/1","repository_url":"https://api.github.com/repos/j-burgos/Flask-DbSeeder","labels_url":"https://api.github.com/repos/j-burgos/Flask-DbSeeder/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/j-burgos/Flask-DbSeeder/issues/1/comments","events_url":"https://api.github.com/repos/j-burgos/Flask-DbSeeder/issues/1/events","html_url":"https://github.com/j-burgos/Flask-DbSeeder/issues/1","id":164287606,"number":1,"title":"Cool...but relationships?","user":{"login":"fabiosoft","id":812037,"avatar_url":"https://avatars.githubusercontent.com/u/812037?v=3","gravatar_id":"","url":"https://api.github.com/users/fabiosoft","html_url":"https://github.com/fabiosoft","followers_url":"https://api.github.com/users/fabiosoft/followers","following_url":"https://api.github.com/users/fabiosoft/following{/other_user}","gists_url":"https://api.github.com/users/fabiosoft/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiosoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiosoft/subscriptions","organizations_url":"https://api.github.com/users/fabiosoft/orgs","repos_url":"https://api.github.com/users/fabiosoft/repos","events_url":"https://api.github.com/users/fabiosoft/events{/privacy}","received_events_url":"https://api.github.com/users/fabiosoft/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-07T11:27:29Z","updated_at":"2016-07-13T10:41:18Z","closed_at":"2016-07-13T10:41:18Z","body":"How can i assign a relationship?\r\n\r\nfor example i have a User model with assigned posts... how can i relate them in `add_seed` method?\r\n\r\n```python\r\n seeder = Seeder(database)\r\n    seeder.add_seed([\r\n        User(username='john', password_hash=hp.make_hash('psw')),\r\n        User(username='mickey', password_hash=hp.make_hash('psw')),\r\n\r\n        Post() # ???\r\n    ])\r\n    seeder.run()\r\n```"}}
{"actor":{"display_login":"fabiosoft"}}