{"action":"created","issue":{"url":"https://api.github.com/repos/pydanny/django-mongonaut/issues/74","labels_url":"https://api.github.com/repos/pydanny/django-mongonaut/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/pydanny/django-mongonaut/issues/74/comments","events_url":"https://api.github.com/repos/pydanny/django-mongonaut/issues/74/events","html_url":"https://github.com/pydanny/django-mongonaut/pull/74","id":63346868,"number":74,"title":"changed MongoModelFormBaseMixin to inherit model's Meta class ordering","user":{"login":"anzellai","id":6062697,"avatar_url":"https://avatars.githubusercontent.com/u/6062697?v=3","gravatar_id":"","url":"https://api.github.com/users/anzellai","html_url":"https://github.com/anzellai","followers_url":"https://api.github.com/users/anzellai/followers","following_url":"https://api.github.com/users/anzellai/following{/other_user}","gists_url":"https://api.github.com/users/anzellai/gists{/gist_id}","starred_url":"https://api.github.com/users/anzellai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anzellai/subscriptions","organizations_url":"https://api.github.com/users/anzellai/orgs","repos_url":"https://api.github.com/users/anzellai/repos","events_url":"https://api.github.com/users/anzellai/events{/privacy}","received_events_url":"https://api.github.com/users/anzellai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-21T02:33:33Z","updated_at":"2015-03-23T21:06:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pydanny/django-mongonaut/pulls/74","html_url":"https://github.com/pydanny/django-mongonaut/pull/74","diff_url":"https://github.com/pydanny/django-mongonaut/pull/74.diff","patch_url":"https://github.com/pydanny/django-mongonaut/pull/74.patch"},"body":"The `MongoModelFormBaseMixin` form fields are not ordered from `model_dict` (based on Python's dictionary) and thus form fields are randomly rendered on view.\r\n\r\nUpdated: in fact it is **mongoengine** has not preserved the form fields ordering (normally it's inherited by `SortedDict`/`OrderedDict` under metaclass `__new__`), so unless **mongoengine** has fixed this, we need a workaround to set fields ordering for the form (auto to sort by field names)."},"comment":{"url":"https://api.github.com/repos/pydanny/django-mongonaut/issues/comments/85197471","html_url":"https://github.com/pydanny/django-mongonaut/pull/74#issuecomment-85197471","issue_url":"https://api.github.com/repos/pydanny/django-mongonaut/issues/74","id":85197471,"user":{"login":"pydanny","id":62857,"avatar_url":"https://avatars.githubusercontent.com/u/62857?v=3","gravatar_id":"","url":"https://api.github.com/users/pydanny","html_url":"https://github.com/pydanny","followers_url":"https://api.github.com/users/pydanny/followers","following_url":"https://api.github.com/users/pydanny/following{/other_user}","gists_url":"https://api.github.com/users/pydanny/gists{/gist_id}","starred_url":"https://api.github.com/users/pydanny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pydanny/subscriptions","organizations_url":"https://api.github.com/users/pydanny/orgs","repos_url":"https://api.github.com/users/pydanny/repos","events_url":"https://api.github.com/users/pydanny/events{/privacy}","received_events_url":"https://api.github.com/users/pydanny/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T21:06:32Z","updated_at":"2015-03-23T21:06:32Z","body":"Tests?"}}