On 18/12/2017 9:28 AM, Etienne Robillard wrote:
Hi Mike,
What Django version are you using? Is this happening with Python 2 or 3?
Sorry Etienne. Should have mentioned that.
Python 3.6 but it also needs to work with Py27
Django 1.11.8
Have you tried to turn on Python warnings?
C:\Users\mike\envs\xxct3\lib\site-packages\filebrowser\sites.py:12:
RemovedInDjango20Warning: Importing from django.core.urlresolvers is
deprecated in favor of django.urls.
from django.core.urlresolvers import reverse, get_urlconf, get_resolver
C:\Users\mike\envs\xxct3\train\train\urls.py:113:
RemovedInDjango20Warning: Passing a 3-tuple to
django.conf.urls.include() is deprecated. Pass a 2-tuple containing the
list of patterns and app_name, and provide the namespace argument to
include() instead.
url(r'^admin/filebrowser/', include(site.urls)),
Have you tried to use the development verion of django-filebrowser?
Yes. Installed from trunk. Same outcome. Here is a screenshot
HTH
Etienne
Le 2017-12-17 à 15:48, Mike Dewhirst a écrit :
An update. I adjusted settings ...
FILEBROWSER_DIRECTORY = 'uploads/'
FILEBROWSER_VERSIONS_BASEDIR = '_versions/'
.. and to match these dirs ...
'media/_versions/'
'media/uploads/'
Still won't show me an upload or browse button in the insert image
dialog.
I also uninstalled and reinstalled to no effect.
Thanks for any help
Mike
On Saturday, December 16, 2017 at 7:04:34 PM UTC+11, Mike Dewhirst
wrote:
I have tried both django-filebrowser and
django-filebrowser-no-grappelli
with django-tinymce4-lite
The TinyMCE part is working fine in the Admin and trying to
insert an
image in the text is trying to work and if I pasted in a url it
would
probably insert the image it points to.
The problem is there is no browse button in the image-insert
dialog box.
The Admin ImageField [Browse] button works fine.
In settings ...
FILEBROWSER_DIRECTORY = '/'
url(r'^admin/filebrowser/', include(site.urls)),
url(r'^tinymce/', include('tinymce.urls')),
url(r'^admin/', admin.site.urls),
Any hints appreciated ..
Thanks
Mike
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/f9a34b92-9005-4cda-a4a6-40efc00dcf28%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/f9a34b92-9005-4cda-a4a6-40efc00dcf28%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Etienne Robillard
tkad...@yandex.com
https://www.isotopesoftware.ca/
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/0f1b5957-e66b-4c8a-57ca-85d7848406d6%40yandex.com
<https://groups.google.com/d/msgid/django-users/0f1b5957-e66b-4c8a-57ca-85d7848406d6%40yandex.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/0f21e83f-4b19-75d0-4581-1e8ad4061c25%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.