Re: Django TinyMCE external_image_list_url breaking admin urls

2015-11-08 Thread Chris Davies-Barnard
Hi James, Thanks for the response. I have just replied to say its working in one sense. Main is my pages, blog and homepage app and then mediamanager is the app that manages images etc uploaded into the media folder. I can create albums which are inserted using wordpress style shorttags i

Re: Django TinyMCE external_image_list_url breaking admin urls

2015-11-08 Thread Chris Davies-Barnard
Hi James, Well, I seem to have made it work by removing the reverse command all together. mce_attrs={ 'external_image_list_url': 'http://csmatrix.local/gallery/imagelist/'}, obviously this is not a very elegant solution but its working.I also noted that I could not use tinymce 4 as th

Re: Django TinyMCE external_image_list_url breaking admin urls

2015-11-08 Thread James Schneider
Do you have an app named 'main'? Is it part of INSTALLED_APPS? And is the Page model properly registered with the admin site? How exactly did you reach that URL? Does the admin work if you just use /admin/? -James On Nov 8, 2015 1:46 AM, "Chris Davies-Barnard" wrote: > Hi James, > > Thanks for

Re: Django TinyMCE external_image_list_url breaking admin urls

2015-11-08 Thread Chris Davies-Barnard
Hi James, Thanks for the reply. So I uncommented the line which now looks like: *mce_attrs={ 'external_image_list_url': reverse('imagelist')},* and after restarting apache I get this. Page not found (404)Request Method:GETRequest URL: http://csmatrix.local/admin/main/page/add/ Using the URL

Re: Django TinyMCE external_image_list_url breaking admin urls

2015-11-07 Thread James Schneider
Try changing the reverse() call to just reverse('imagelist'). I believe reversing using the full view import path has been deprecated/removed. That, and you named the URL 'imagelist', may as well refer to it by name. ;-) If that doesn't work, please post the error and entire traceback that you are