On Nov 23, 9:00 pm, waltbrad <[EMAIL PROTECTED]> wrote:
> On Nov 22, 9:09 pm, waltbrad <[EMAIL PROTECTED]> wrote:
>
> > I'm working with James Bennet's book Practical Django Projects. He
> > puts a tiny_mce text editor into the admin flatpage interface.
>
>
Just want to chime in one more time to say I got it working, but I
don't know what I did.

One thing I got to suspecting though was that the server was still
using the change_form.html that was in my django folder rather than
the one I copied over to my template folder. So, what I did was got
the one from

C:\Python25\Lib\site-packages\django\contrib\admin\templates\admin

and altered a text word in it.  From "history" to "myhistory".  Just
to see.  Sure enough, that's what was going on. So, I  copied the
javascript code into it for tiny_mce,  but it still wouldn't work.

All I know from there is I just started noodling with the way my paths
were written out.  You know slashes and taking some directories out in
the hopes it would find the dang thing.

Anyway, the thing worked all of a sudden. I was amazed!  ;o)  But then
I noticed it didn't say "myhistory" anymore. Somehow the server began
finding the page in my template folder and linking everything in.

That's weird. I can't remember fooling around with any of the paths to
the template folder.  I'm glad I got the thing running, but I don't
like not knowing how it was done.

Anyway, thanks to Malcolm and all who bothered reading this thread.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to