[mezzanine-users] Re: "You are trying to add a non-nullable field 'form_ptr' to aboutpage without a default;"

2017-10-16 Thread Tom Tanner
In this case, what is `form_ptr`? It isn't a field I defined anywhere, as far as I know On Monday, October 16, 2017 at 12:56:41 PM UTC-4, Rainell Dilou Gómez wrote: > > When you add a field to an existing model and run makemigrations, if you > have not explicitly specified the default value

Re: [mezzanine-users] Adding a Button to TinyMCE Issue

2017-10-16 Thread marcusguttenplan
Thank you for your response! I had tried to use this (from tinymce docs ) in the init function: toolbar: 'hrbutton', setup: function (editor) { console.log("setup fn hit"); editor.addButton('hrbutton', {

Re: [mezzanine-users] Adding a Button to TinyMCE Issue

2017-10-16 Thread Ryne Everett
Pardon if I'm misunderstanding the question, but are you adding it to the toolbar field in tinymce_setup? -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[mezzanine-users] Adding a Button to TinyMCE Issue

2017-10-16 Thread marcusguttenplan
I have been working to add a custom button to tinyMCE, but the button is not appearing and I am having trouble debugging. I looked through past questions on here, as well as SO and the tinyMCE docs, but haven't found a solution that works. I want to add a button for an hr tag. There is a

[mezzanine-users] Re: "You are trying to add a non-nullable field 'form_ptr' to aboutpage without a default;"

2017-10-16 Thread Rainell Dilou Gómez
When you add a field to an existing model and run makemigrations, if you have not explicitly specified the default value for the new field, Django asks you what data will you put by default in the new field. If you don't want Django ask to you, you can edit the migration file manually, but ...