{"action":"created","issue":{"url":"https://api.github.com/repos/digi604/django-smart-selects/issues/63","labels_url":"https://api.github.com/repos/digi604/django-smart-selects/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/digi604/django-smart-selects/issues/63/comments","events_url":"https://api.github.com/repos/digi604/django-smart-selects/issues/63/events","html_url":"https://github.com/digi604/django-smart-selects/issues/63","id":36976750,"number":63,"title":"NameError: name 'basestring' is not defined","user":{"login":"mno1","id":4015708,"avatar_url":"https://avatars.githubusercontent.com/u/4015708?v=3","gravatar_id":"","url":"https://api.github.com/users/mno1","html_url":"https://github.com/mno1","followers_url":"https://api.github.com/users/mno1/followers","following_url":"https://api.github.com/users/mno1/following{/other_user}","gists_url":"https://api.github.com/users/mno1/gists{/gist_id}","starred_url":"https://api.github.com/users/mno1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mno1/subscriptions","organizations_url":"https://api.github.com/users/mno1/orgs","repos_url":"https://api.github.com/users/mno1/repos","events_url":"https://api.github.com/users/mno1/events{/privacy}","received_events_url":"https://api.github.com/users/mno1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-07-02T12:26:15Z","updated_at":"2015-02-07T12:15:45Z","closed_at":null,"body":"Hi,\r\n\r\nI try this modul with Python 3.4.1, Django 1.6.5, django-smart-selects\r\n1.0.9 and got following error:\r\n\r\n```\r\nValidating models...\r\n\r\nUnhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x014CA588>\r\nTraceback (most recent call last):\r\n  File \"C:\\workspace\\03-src\\lib\\site-packages\\django\\utils\\autoreload.py\", line 93, in wrapper\r\n    fn(*args, **kwargs)\r\n  File \"C:\\workspace\\03-src\\lib\\site-packages\\django\\core\\management\\commands\\runserver.py\", line 101, in\r\ninner_run\r\n    self.validate(display_num_errors=True)\r\n  File \"C:\\workspace\\03-src\\lib\\site-packages\\django\\core\\management\\base.py\", line 310, in validate\r\n    num_errors = get_validation_errors(s, app)\r\n  File \"C:\\workspace\\03-src\\lib\\site-packages\\django\\core\\management\\validation.py\", line 34, in get_valid\r\nation_errors\r\n    for (app_name, error) in get_app_errors().items():\r\n  File \"C:\\workspace\\03-src\\lib\\site-packages\\django\\db\\models\\loading.py\", line 196, in get_app_errors\r\n    self._populate()\r\n  File \"C:\\workspace\\03-src\\lib\\site-packages\\django\\db\\models\\loading.py\", line 75, in _populate\r\n    self.load_app(app_name, True)\r\n  File \"C:\\workspace\\03-src\\lib\\site-packages\\django\\db\\models\\loading.py\", line 99, in load_app\r\n    models = import_module('%s.models' % app_name)\r\n  File \"C:\\workspace\\03-src\\lib\\importlib\\__init__.py\", line 109, in import_module\r\n    return _bootstrap._gcd_import(name[level:], package, level)\r\n  File \"<frozen importlib._bootstrap>\", line 2254, in _gcd_import\r\n  File \"<frozen importlib._bootstrap>\", line 2237, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 2226, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 1200, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 1129, in _exec\r\n  File \"<frozen importlib._bootstrap>\", line 1471, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 321, in _call_with_frames_removed\r\n  File \"C:\\workspace\\03-src\\djangoproject\\service\\models.py\", line 34, in <module>\r\n    class Vehicle(models.Model):\r\n  File \"C:\\workspace\\03-src\\djangoproject\\service\\models.py\", line 45, in Vehicle\r\n    auto_choose=True\r\n  File \"C:\\workspace\\03-src\\lib\\site-packages\\smart_selects\\db_fields.py\", line 20, in __init__\r\n    if isinstance(to, basestring):\r\nNameError: name 'basestring' is not defined\r\n```\r\nI found some advice: https://github.com/oxplot/fysom/issues/1"},"comment":{"url":"https://api.github.com/repos/digi604/django-smart-selects/issues/comments/73361939","html_url":"https://github.com/digi604/django-smart-selects/issues/63#issuecomment-73361939","issue_url":"https://api.github.com/repos/digi604/django-smart-selects/issues/63","id":73361939,"user":{"login":"elvisperez","id":8742974,"avatar_url":"https://avatars.githubusercontent.com/u/8742974?v=3","gravatar_id":"","url":"https://api.github.com/users/elvisperez","html_url":"https://github.com/elvisperez","followers_url":"https://api.github.com/users/elvisperez/followers","following_url":"https://api.github.com/users/elvisperez/following{/other_user}","gists_url":"https://api.github.com/users/elvisperez/gists{/gist_id}","starred_url":"https://api.github.com/users/elvisperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvisperez/subscriptions","organizations_url":"https://api.github.com/users/elvisperez/orgs","repos_url":"https://api.github.com/users/elvisperez/repos","events_url":"https://api.github.com/users/elvisperez/events{/privacy}","received_events_url":"https://api.github.com/users/elvisperez/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T12:15:45Z","updated_at":"2015-02-07T12:15:45Z","body":"Hi. In all class where you have this problem\nEl feb 7, 2015 2:33 AM, \"Yusuf (Josè) Luis\" <notifications@github.com>\nescribió:\n\n> Hi, where i have put this code?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/digi604/django-smart-selects/issues/63#issuecomment-73353195>\n> .\n>\n"}}