{"action":"opened","issue":{"number":319,"created_at":"2011-10-15T20:41:35Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi guys,\r\nI encountered a strange problem.\r\n\r\nI have a class:\r\n\r\n    class IPAddress(Document):\r\n        # CODEZ IZ HERE\r\n\r\nand with MongoEngine 0.4 it was tied to `ipaddress` collection. With 0.5 however it's tied to `i_p_address` though the docs state that the collection name will by default be the lowercase class name. Adding `meta = { 'collection': 'ipaddress' }` fixed this, of course.\r\n\r\nNow, either I'm wrong or the docs are wrong :).","comments":0,"title":"Wrong collection name after upgrade to 0.5","updated_at":"2011-10-15T20:41:35Z","url":"https://api.github.com/repos/hmarr/mongoengine/issues/319","id":1919180,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"f3398afb7f7d583f9f6bb7d866a03a69","avatar_url":"https://secure.gravatar.com/avatar/f3398afb7f7d583f9f6bb7d866a03a69?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/tomekwojcik","id":226482,"login":"tomekwojcik"},"html_url":"https://github.com/hmarr/mongoengine/issues/319","labels":[],"state":"open"},"legacy":{"number":319,"action":"opened","issue":1919180}}