{"action":"created","issue":{"url":"https://api.github.com/repos/alex/django-taggit/issues/459","repository_url":"https://api.github.com/repos/alex/django-taggit","labels_url":"https://api.github.com/repos/alex/django-taggit/issues/459/labels{/name}","comments_url":"https://api.github.com/repos/alex/django-taggit/issues/459/comments","events_url":"https://api.github.com/repos/alex/django-taggit/issues/459/events","html_url":"https://github.com/alex/django-taggit/issues/459","id":201414669,"number":459,"title":"'_TaggableManager' object has no attribute 'name'","user":{"login":"zivanovicb","id":13037008,"avatar_url":"https://avatars.githubusercontent.com/u/13037008?v=3","gravatar_id":"","url":"https://api.github.com/users/zivanovicb","html_url":"https://github.com/zivanovicb","followers_url":"https://api.github.com/users/zivanovicb/followers","following_url":"https://api.github.com/users/zivanovicb/following{/other_user}","gists_url":"https://api.github.com/users/zivanovicb/gists{/gist_id}","starred_url":"https://api.github.com/users/zivanovicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zivanovicb/subscriptions","organizations_url":"https://api.github.com/users/zivanovicb/orgs","repos_url":"https://api.github.com/users/zivanovicb/repos","events_url":"https://api.github.com/users/zivanovicb/events{/privacy}","received_events_url":"https://api.github.com/users/zivanovicb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-17T21:46:48Z","updated_at":"2017-01-17T21:53:23Z","closed_at":null,"body":"`for member in members:\r\n\t\tprint member.customuser.skills`\r\n\r\nWhen I try to get skills which are `skills = TaggableManager()` in models.py I get:\r\n\r\n`AttributeError at /members/\r\n'_TaggableManager' object has no attribute 'name'\r\nRequest Method:\tGET\r\nRequest URL:\thttp://127.0.0.1:8000/members/\r\nDjango Version:\t1.10.4\r\nException Type:\tAttributeError\r\nException Value:\t\r\n'_TaggableManager' object has no attribute 'name'\r\nException Location:\tC:\\Users\\zivan\\Desktop\\lobokus-django\\lib\\site-packages\\django\\db\\models\\manager.py in __str__, line 39\r\nPython Executable:\tC:\\Users\\zivan\\Desktop\\lobokus-django\\Scripts\\python.exe\r\nPython Version:\t2.7.13\r\nPython Path:\t\r\n['C:\\\\Users\\\\zivan\\\\Desktop\\\\lobokus-django\\\\lobokus',\r\n 'C:\\\\Windows\\\\SYSTEM32\\\\python27.zip',\r\n 'C:\\\\Users\\\\zivan\\\\Desktop\\\\lobokus-django\\\\DLLs',\r\n 'C:\\\\Users\\\\zivan\\\\Desktop\\\\lobokus-django\\\\lib',\r\n 'C:\\\\Users\\\\zivan\\\\Desktop\\\\lobokus-django\\\\lib\\\\plat-win',\r\n 'C:\\\\Users\\\\zivan\\\\Desktop\\\\lobokus-django\\\\lib\\\\lib-tk',\r\n 'C:\\\\Users\\\\zivan\\\\Desktop\\\\lobokus-django\\\\Scripts',\r\n 'c:\\\\python27\\\\Lib',\r\n 'c:\\\\python27\\\\DLLs',\r\n 'c:\\\\python27\\\\Lib\\\\lib-tk',\r\n 'C:\\\\Users\\\\zivan\\\\Desktop\\\\lobokus-django',\r\n 'C:\\\\Users\\\\zivan\\\\Desktop\\\\lobokus-django\\\\lib\\\\site-packages']\r\nServer time:\tTue, 17 Jan 2017 22:44:42 +0100`\r\n\r\nTraceback:\r\n\r\n` Environment:\r\n\r\n\r\nRequest Method: GET\r\nRequest URL: http://127.0.0.1:8000/members/\r\n\r\nDjango Version: 1.10.4\r\nPython Version: 2.7.13\r\nInstalled Applications:\r\n['django.contrib.admin',\r\n 'django.contrib.auth',\r\n 'django.contrib.contenttypes',\r\n 'django.contrib.sessions',\r\n 'django.contrib.messages',\r\n 'django.contrib.sites',\r\n 'django.contrib.staticfiles',\r\n 'projects.apps.ProjectsConfig',\r\n 'users.apps.UsersConfig',\r\n 'allauth',\r\n 'allauth.account',\r\n 'allauth.socialaccount',\r\n 'allauth.socialaccount.providers.twitter',\r\n 'allauth.socialaccount.providers.facebook',\r\n 'allauth.socialaccount.providers.github',\r\n 'taggit',\r\n 'haystack',\r\n 'django_countries']\r\nInstalled Middleware:\r\n['django.middleware.security.SecurityMiddleware',\r\n 'django.contrib.sessions.middleware.SessionMiddleware',\r\n 'django.middleware.common.CommonMiddleware',\r\n 'django.middleware.csrf.CsrfViewMiddleware',\r\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\r\n 'django.contrib.messages.middleware.MessageMiddleware',\r\n 'django.middleware.clickjacking.XFrameOptionsMiddleware']\r\n\r\n\r\n\r\nTraceback:\r\n\r\nFile \"C:\\Users\\zivan\\Desktop\\lobokus-django\\lib\\site-packages\\django\\core\\handlers\\exception.py\" in inner\r\n  39.             response = get_response(request)\r\n\r\nFile \"C:\\Users\\zivan\\Desktop\\lobokus-django\\lib\\site-packages\\django\\core\\handlers\\base.py\" in _get_response\r\n  187.                 response = self.process_exception_by_middleware(e, request)\r\n\r\nFile \"C:\\Users\\zivan\\Desktop\\lobokus-django\\lib\\site-packages\\django\\core\\handlers\\base.py\" in _get_response\r\n  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n\r\nFile \"C:\\Users\\zivan\\Desktop\\lobokus-django\\lobokus\\users\\views.py\" in members\r\n  36. \t\tprint member.customuser.skills\r\n\r\nFile \"C:\\Users\\zivan\\Desktop\\lobokus-django\\lib\\site-packages\\django\\utils\\six.py\" in <lambda>\r\n  842.         klass.__str__ = lambda self: self.__unicode__().encode('utf-8')\r\n\r\nFile \"C:\\Users\\zivan\\Desktop\\lobokus-django\\lib\\site-packages\\django\\db\\models\\manager.py\" in __str__\r\n  39.         return '%s.%s' % (self.model._meta.label, self.name)\r\n\r\nException Type: AttributeError at /members/\r\nException Value: '_TaggableManager' object has no attribute 'name'\r\n`\r\n"},"comment":{"url":"https://api.github.com/repos/alex/django-taggit/issues/comments/273312016","html_url":"https://github.com/alex/django-taggit/issues/459#issuecomment-273312016","issue_url":"https://api.github.com/repos/alex/django-taggit/issues/459","id":273312016,"user":{"login":"zivanovicb","id":13037008,"avatar_url":"https://avatars.githubusercontent.com/u/13037008?v=3","gravatar_id":"","url":"https://api.github.com/users/zivanovicb","html_url":"https://github.com/zivanovicb","followers_url":"https://api.github.com/users/zivanovicb/followers","following_url":"https://api.github.com/users/zivanovicb/following{/other_user}","gists_url":"https://api.github.com/users/zivanovicb/gists{/gist_id}","starred_url":"https://api.github.com/users/zivanovicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zivanovicb/subscriptions","organizations_url":"https://api.github.com/users/zivanovicb/orgs","repos_url":"https://api.github.com/users/zivanovicb/repos","events_url":"https://api.github.com/users/zivanovicb/events{/privacy}","received_events_url":"https://api.github.com/users/zivanovicb/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T21:53:23Z","updated_at":"2017-01-17T21:53:23Z","body":"Thank you! `member.customuser.skills.all()` worked"}}
{"actor":{"display_login":"zivanovicb"}}