July 30, 2018

[22:19:03] pilgrimish: joins
[03:27:04] pilgrimish: leaves
[10:03:03] nwsokoloff[m]: if i update a file I will need to makemigrations correct?
[10:04:07] kenbolton[m]: depends on the file...
[10:10:11] kenbolton[m]: nwsokoloff: migrations should be created for changes to the model.
[10:12:19] nwsokoloff[m]: so I need to update my pjax file so the changes are to my js
[10:13:00] kenbolton[m]: totally unrelated to django
[10:14:54] nwsokoloff[m]: yes but I need to have the changes register don’t I?
[10:15:29] kenbolton[m]: does your change to the javascript file have an impact on the structure of your database?
[10:17:22] nwsokoloff[m]: yes? the jquery.pjax needs to fire so that the tinymce will render when form loads.
[10:18:11] kenbolton[m]: what table or column in your database is affected by that?
[10:20:12] nwsokoloff[m]: hmmmm I can find that in jupyter right?
[10:27:20] kenbolton[m]: umm, you could, but this should be a mental exercise.
[10:27:52] kenbolton[m]: is tinymce a model in your django app? or is it an interface for modifying a model in your django app?
[10:30:31] pilgrimish: joins
[10:36:13] nwsokoloff[m]: ummmm, I think tinymce is in mezzanine but I also see it in forms
[10:47:10] nwsokoloff[m]: ok i believe it is an interface
[10:48:07] kenbolton[m]: yeah, tinymce is integrated into mezzanine, but provides an interface for adding content to the database. it is not itself a part of the data.
[10:48:31] kenbolton[m]: sorry about the "but".
[10:54:13] nwsokoloff[m]: ok, the issue is when I load the submit page the tinymce doesn’t render but when I refresh the page it loads. I believe that the issue is not with the tinymce but with jquery.pjax
[10:59:28] tim[m]4: javascript is client side. if you’re unsure of whether changes took affect, then look at the source in your browser for a sanity check.
[11:02:00] nwsokoloff[m]: ah thanks tim!
[11:03:26] nwsokoloff[m]: tim I learned that drum only took snippets of an older version of pjax so I took all of a newer version of pjax to see what would happen
[11:05:05] tim[m]4: They're just going to overwrite each other. (Think about each time you define a variable, you don't wind up with multiple versions you can use).
[11:05:05] tim[m]4: I'd just get rid of pjax entirely if I were you
[11:07:07] nwsokoloff[m]: how do I get rid of pjax if its going to try and read it from the parent drum? oh so I just remove the script from base and lin_form.html? I think that makes sense
[11:49:56] pilgrimish: leaves
[11:53:08] pilgrimish: joins
[11:53:58] pilgrimish: leaves
[11:54:22] pilgrimish: joins
[11:54:45] pilgrimish: leaves
[11:55:07] pilgrimish: joins
[11:55:31] pilgrimish: leaves
[11:56:07] pilgrimish: joins
[11:56:17] pilgrimish: leaves
[11:56:48] pilgrimish: joins
[11:57:03] pilgrimish: leaves
[11:57:29] pilgrimish: joins
[11:57:49] pilgrimish: leaves
[11:58:14] pilgrimish: joins
[11:58:35] pilgrimish: leaves
[11:58:58] pilgrimish: joins
[11:59:22] pilgrimish: leaves
[11:59:53] pilgrimish: joins
[12:00:08] pilgrimish: leaves
[12:00:38] pilgrimish: joins
[12:00:54] pilgrimish: leaves
[12:01:24] pilgrimish: joins
[12:01:40] pilgrimish: leaves
[12:55:43] pilgrimish: joins
[12:57:15] pilgrimish: leaves
[13:36:24] pilgrimish: joins
[15:53:00] kenbolton[m]: tinymce probably requires pjax.
[15:58:23] nwsokoloff[m]: mmmmm
[15:59:25] nwsokoloff[m]: I don’t think it does https://github.com/defunkt/jquery-pjax/issues/560
[16:37:32] tim[m]4: pjax isn’t related to tinymce
[16:38:07] tim[m]4: what does your code look like that instantiates tinymce
[17:03:44] waltd3: joins
[17:04:34] nwsokoloff[m]: Im taking a break and working on media queries but ill look
[17:45:13] pilgrimish: leaves