{"action":"created","issue":{"url":"https://api.github.com/repos/MongoEngine/django-mongoengine/issues/42","labels_url":"https://api.github.com/repos/MongoEngine/django-mongoengine/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/MongoEngine/django-mongoengine/issues/42/comments","events_url":"https://api.github.com/repos/MongoEngine/django-mongoengine/issues/42/events","html_url":"https://github.com/MongoEngine/django-mongoengine/pull/42","id":129226680,"number":42,"title":"Python3 syntax support","user":{"login":"Alex131089","id":1735067,"avatar_url":"https://avatars.githubusercontent.com/u/1735067?v=3","gravatar_id":"","url":"https://api.github.com/users/Alex131089","html_url":"https://github.com/Alex131089","followers_url":"https://api.github.com/users/Alex131089/followers","following_url":"https://api.github.com/users/Alex131089/following{/other_user}","gists_url":"https://api.github.com/users/Alex131089/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex131089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex131089/subscriptions","organizations_url":"https://api.github.com/users/Alex131089/orgs","repos_url":"https://api.github.com/users/Alex131089/repos","events_url":"https://api.github.com/users/Alex131089/events{/privacy}","received_events_url":"https://api.github.com/users/Alex131089/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-27T18:18:54Z","updated_at":"2016-01-28T11:47:10Z","closed_at":"2016-01-28T11:43:44Z","pull_request":{"url":"https://api.github.com/repos/MongoEngine/django-mongoengine/pulls/42","html_url":"https://github.com/MongoEngine/django-mongoengine/pull/42","diff_url":"https://github.com/MongoEngine/django-mongoengine/pull/42.diff","patch_url":"https://github.com/MongoEngine/django-mongoengine/pull/42.patch"},"body":"If you're interested, basic modifications for python3 support (don't know if it breaks python2 support).\r\n\r\nCan't get the example to be working, stuck with : \r\n```\r\n  File \"/srv/emma/pymodules/django-mongoengine_perso/example/tumblelog/tumblelog/admin.py\", line 26, in <module>\r\n    admin.site.register(BlogPost, BlogPostAdmin)\r\n  File \"/srv/emma/pymodules/django-mongoengine_perso/django_mongoengine/mongo_admin/sites.py\", line 100, in register\r\n    validate(admin_class, model)\r\n  File \"/srv/emma/pymodules/django-mongoengine_perso/django_mongoengine/mongo_admin/validation.py\", line 24, in validate\r\n    _validate(cls, model)\r\n  File \"/srv/emma/pymodules/django-mongoengine_perso/django_mongoengine/mongo_admin/validation.py\", line 38, in _validate\r\n    validate_base(cls, model)\r\n  File \"/srv/emma/pymodules/django-mongoengine_perso/django_mongoengine/mongo_admin/validation.py\", line 315, in validate_base\r\n    \"BaseModelForm.\" % cls.__name__)\r\ndjango.core.exceptions.ImproperlyConfigured: BlogPostAdmin.form does not inherit from BaseModelForm.\r\n```\r\nWhich seems to be related to something not implemented (DocumentModelForm ?)."},"comment":{"url":"https://api.github.com/repos/MongoEngine/django-mongoengine/issues/comments/176139823","html_url":"https://github.com/MongoEngine/django-mongoengine/pull/42#issuecomment-176139823","issue_url":"https://api.github.com/repos/MongoEngine/django-mongoengine/issues/42","id":176139823,"user":{"login":"last-partizan","id":301015,"avatar_url":"https://avatars.githubusercontent.com/u/301015?v=3","gravatar_id":"","url":"https://api.github.com/users/last-partizan","html_url":"https://github.com/last-partizan","followers_url":"https://api.github.com/users/last-partizan/followers","following_url":"https://api.github.com/users/last-partizan/following{/other_user}","gists_url":"https://api.github.com/users/last-partizan/gists{/gist_id}","starred_url":"https://api.github.com/users/last-partizan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/last-partizan/subscriptions","organizations_url":"https://api.github.com/users/last-partizan/orgs","repos_url":"https://api.github.com/users/last-partizan/repos","events_url":"https://api.github.com/users/last-partizan/events{/privacy}","received_events_url":"https://api.github.com/users/last-partizan/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T11:47:10Z","updated_at":"2016-01-28T11:47:10Z","body":"Btw, with python2.7 i don't get that error:\r\n```\r\ndjango.core.exceptions.ImproperlyConfigured: BlogPostAdmin.form does not inherit from BaseModelForm.\r\n```\r\n\r\nTest project is running fine. (Just forms not rendered at all, but i'm working on it)"}}