{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/masterfirefoxos/issues/57","labels_url":"https://api.github.com/repos/mozilla/masterfirefoxos/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/masterfirefoxos/issues/57/comments","events_url":"https://api.github.com/repos/mozilla/masterfirefoxos/issues/57/events","html_url":"https://github.com/mozilla/masterfirefoxos/pull/57","id":54568124,"number":57,"title":"Add Page migrations, FAQEntry with TinyMCE and lots of fun stuff.","user":{"login":"glogiotatidis","id":584352,"avatar_url":"https://avatars.githubusercontent.com/u/584352?v=3","gravatar_id":"","url":"https://api.github.com/users/glogiotatidis","html_url":"https://github.com/glogiotatidis","followers_url":"https://api.github.com/users/glogiotatidis/followers","following_url":"https://api.github.com/users/glogiotatidis/following{/other_user}","gists_url":"https://api.github.com/users/glogiotatidis/gists{/gist_id}","starred_url":"https://api.github.com/users/glogiotatidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glogiotatidis/subscriptions","organizations_url":"https://api.github.com/users/glogiotatidis/orgs","repos_url":"https://api.github.com/users/glogiotatidis/repos","events_url":"https://api.github.com/users/glogiotatidis/events{/privacy}","received_events_url":"https://api.github.com/users/glogiotatidis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-16T11:58:04Z","updated_at":"2015-01-24T07:10:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/masterfirefoxos/pulls/57","html_url":"https://github.com/mozilla/masterfirefoxos/pull/57","diff_url":"https://github.com/mozilla/masterfirefoxos/pull/57.diff","patch_url":"https://github.com/mozilla/masterfirefoxos/pull/57.patch"},"body":"It appears that's pretty difficult to reuse RichTextField to content types other than RichTextEntry. The later offers some functionality that we don't use (like html cleaning) or that we can implement differently.\r\n\r\nI opted for removing feincms' content type and adding my own RichTextEntry with TinyMCE which appears to work nicely and it's imho cleaner approach.\r\n\r\nAlong the way I initialized Page schema migrations and did some cleaning and tidying."},"comment":{"url":"https://api.github.com/repos/mozilla/masterfirefoxos/issues/comments/71303547","html_url":"https://github.com/mozilla/masterfirefoxos/pull/57#issuecomment-71303547","issue_url":"https://api.github.com/repos/mozilla/masterfirefoxos/issues/57","id":71303547,"user":{"login":"jgmize","id":161718,"avatar_url":"https://avatars.githubusercontent.com/u/161718?v=3","gravatar_id":"","url":"https://api.github.com/users/jgmize","html_url":"https://github.com/jgmize","followers_url":"https://api.github.com/users/jgmize/followers","following_url":"https://api.github.com/users/jgmize/following{/other_user}","gists_url":"https://api.github.com/users/jgmize/gists{/gist_id}","starred_url":"https://api.github.com/users/jgmize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgmize/subscriptions","organizations_url":"https://api.github.com/users/jgmize/orgs","repos_url":"https://api.github.com/users/jgmize/repos","events_url":"https://api.github.com/users/jgmize/events{/privacy}","received_events_url":"https://api.github.com/users/jgmize/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T07:10:29Z","updated_at":"2015-01-24T07:10:29Z","body":"@glogiotatidis I'm getting the following error locally:\r\n```\r\nProgrammingError at /admin/page/page/145/\r\n\r\nrelation \"page_page_richtextentry\" does not exist\r\nLINE 1: ...egion\", \"page_page_richtextentry\".\"ordering\" FROM \"page_page...\r\n```\r\nGoing through the logs I see:\r\n\r\n```\r\nweb_1 | Operations to perform:\r\nweb_1 |   Synchronize unmigrated apps: base, mptt, feincms\r\nweb_1 |   Apply all migrations: admin, page, medialibrary, contenttypes, sessions, auth\r\nweb_1 | Synchronizing apps without migrations:\r\nweb_1 |   Creating tables...\r\nweb_1 |   Installing custom SQL...\r\nweb_1 |   Installing indexes...\r\nweb_1 | Running migrations:\r\nweb_1 |   Applying medialibrary.0001_initial... FAKED\r\nweb_1 |   Applying page.0001_initial... FAKED\r\nweb_1 |   Applying page.0002_auto_20150116_1205... OK\r\nweb_1 |   Applying page.0003_textentry... OK\r\nweb_1 |   Applying page.0004_auto_20150116_1254... OK\r\n```\r\n\r\nFaking the initial migrations for the unchanged models seems legit due to having been previously created with syncdb, but I think the initial richtextentry may need to be in a separate migration."}}