{"action":"created","issue":{"url":"https://api.github.com/repos/justquick/django-activity-stream/issues/216","labels_url":"https://api.github.com/repos/justquick/django-activity-stream/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/justquick/django-activity-stream/issues/216/comments","events_url":"https://api.github.com/repos/justquick/django-activity-stream/issues/216/events","html_url":"https://github.com/justquick/django-activity-stream/issues/216","id":50914357,"number":216,"title":"documentation on registering the User model","user":{"login":"brunoamaral","id":543344,"avatar_url":"https://avatars.githubusercontent.com/u/543344?v=3","gravatar_id":"","url":"https://api.github.com/users/brunoamaral","html_url":"https://github.com/brunoamaral","followers_url":"https://api.github.com/users/brunoamaral/followers","following_url":"https://api.github.com/users/brunoamaral/following{/other_user}","gists_url":"https://api.github.com/users/brunoamaral/gists{/gist_id}","starred_url":"https://api.github.com/users/brunoamaral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunoamaral/subscriptions","organizations_url":"https://api.github.com/users/brunoamaral/orgs","repos_url":"https://api.github.com/users/brunoamaral/repos","events_url":"https://api.github.com/users/brunoamaral/events{/privacy}","received_events_url":"https://api.github.com/users/brunoamaral/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-04T00:44:38Z","updated_at":"2015-01-30T03:19:52Z","closed_at":null,"body":"This is more of a suggestion: I am using Userena with actstream, and I am not at all sure if I did this right to register the User model.\r\n\r\n```\r\nclass StubsConfig(AppConfig):\r\n\tname = 'stubs'\r\n\r\n\tdef ready(self):\r\n\t\tregistry.register(self.get_model('Band'))\r\n\t\tregistry.register(self.get_model('Concert'))\r\n\t\tregistry.register(self.get_model('Location'))\r\n\t\tfrom django.contrib.auth.models import User\r\n\t\tregistry.register(User)\r\n````\r\nEither way it would be nice to mention in the docs the right way to register the user model."},"comment":{"url":"https://api.github.com/repos/justquick/django-activity-stream/issues/comments/72147994","html_url":"https://github.com/justquick/django-activity-stream/issues/216#issuecomment-72147994","issue_url":"https://api.github.com/repos/justquick/django-activity-stream/issues/216","id":72147994,"user":{"login":"AlexRiina","id":4087850,"avatar_url":"https://avatars.githubusercontent.com/u/4087850?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexRiina","html_url":"https://github.com/AlexRiina","followers_url":"https://api.github.com/users/AlexRiina/followers","following_url":"https://api.github.com/users/AlexRiina/following{/other_user}","gists_url":"https://api.github.com/users/AlexRiina/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexRiina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexRiina/subscriptions","organizations_url":"https://api.github.com/users/AlexRiina/orgs","repos_url":"https://api.github.com/users/AlexRiina/repos","events_url":"https://api.github.com/users/AlexRiina/events{/privacy}","received_events_url":"https://api.github.com/users/AlexRiina/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T03:19:52Z","updated_at":"2015-01-30T03:19:52Z","body":"Is there any reason not to register `settings.AUTH_USER_MODEL` (given django version high enough)? That seems preferable to calling get_model or importing User directly from contrib.auth."}}