{"action":"created","issue":{"url":"https://api.github.com/repos/kavdev/dj-stripe/issues/329","repository_url":"https://api.github.com/repos/kavdev/dj-stripe","labels_url":"https://api.github.com/repos/kavdev/dj-stripe/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/kavdev/dj-stripe/issues/329/comments","events_url":"https://api.github.com/repos/kavdev/dj-stripe/issues/329/events","html_url":"https://github.com/kavdev/dj-stripe/issues/329","id":163050186,"number":329,"title":"sync_customers doesn't sync","user":{"login":"allthetime","id":6376965,"avatar_url":"https://avatars.githubusercontent.com/u/6376965?v=3","gravatar_id":"","url":"https://api.github.com/users/allthetime","html_url":"https://github.com/allthetime","followers_url":"https://api.github.com/users/allthetime/followers","following_url":"https://api.github.com/users/allthetime/following{/other_user}","gists_url":"https://api.github.com/users/allthetime/gists{/gist_id}","starred_url":"https://api.github.com/users/allthetime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allthetime/subscriptions","organizations_url":"https://api.github.com/users/allthetime/orgs","repos_url":"https://api.github.com/users/allthetime/repos","events_url":"https://api.github.com/users/allthetime/events{/privacy}","received_events_url":"https://api.github.com/users/allthetime/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kavdev/dj-stripe/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-29T23:28:31Z","updated_at":"2016-06-30T07:24:44Z","closed_at":null,"body":"Hi, not sure if I'm misunderstanding the function of sync_customers or not. \r\n\r\nIs it supposed to update django models with information from stripe? Because I deleted my db and remigrated and then ran sync and none of the information was copied over. \r\n\r\nIf it is the other way around (sync_customers updates slack with info from django), is there a way to do what I desire, populate the django tables with customer information from stripe?\r\n\r\nI'm in the testing phase at the moment and I just want to make sure that I am not losing user information, or recharging people accidentally once I hit production. Starting with a clean slate seems to be working quite well with webhooks updating the django db. \r\n\r\n\r\n\r\nOn a related side not, when running init_customers or sync_customers this warning is thrown:\r\n\r\n```.../lib/python2.7/site-packages/djstripe/settings.py:70: RemovedInDjango110Warning: 'get_all_field_names is an unofficial API that has been deprecated. You may be able to replace it with 'get_fields()'\r\n  if (\"email\" not in subscriber_model._meta.get_all_field_names()) and not hasattr(subscriber_model, 'email'):```\r\n\r\nsimply replacing with .get_fields() does not work as expected."},"comment":{"url":"https://api.github.com/repos/kavdev/dj-stripe/issues/comments/229580444","html_url":"https://github.com/kavdev/dj-stripe/issues/329#issuecomment-229580444","issue_url":"https://api.github.com/repos/kavdev/dj-stripe/issues/329","id":229580444,"user":{"login":"kavdev","id":4859329,"avatar_url":"https://avatars.githubusercontent.com/u/4859329?v=3","gravatar_id":"","url":"https://api.github.com/users/kavdev","html_url":"https://github.com/kavdev","followers_url":"https://api.github.com/users/kavdev/followers","following_url":"https://api.github.com/users/kavdev/following{/other_user}","gists_url":"https://api.github.com/users/kavdev/gists{/gist_id}","starred_url":"https://api.github.com/users/kavdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kavdev/subscriptions","organizations_url":"https://api.github.com/users/kavdev/orgs","repos_url":"https://api.github.com/users/kavdev/repos","events_url":"https://api.github.com/users/kavdev/events{/privacy}","received_events_url":"https://api.github.com/users/kavdev/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T07:24:44Z","updated_at":"2016-06-30T07:24:44Z","body":"Off the top of my head, ``sync_customers`` should grab customer data from Stripe and add it to dj-stripe. I don't believe it creates django \"subscribers\" for you"}}
{"actor":{"display_login":"kavdev"}}