This time with version 3.9.2 having climbed a little higher into the branches ...

C:\Users\mike\envs\xxct3\lib\site-packages\django_filebrowser-3.9.2-py3.6.egg\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)),

But no change.

I have also deleted my project/templates/admin folder and still no change from the screenshot sent earlier - which I did not see so I'll attach a new one to this email.

Cheers

Mike


On 18/12/2017 11:35 AM, Mike Dewhirst wrote:
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.



--

Climate Pty Ltd
PO Box 308
Mount Eliza
Vic 3930
Australia +61

T: 03 9034 3977
M: 0411 704 143



--
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/6be43c55-3d20-761c-8463-0782437e2038%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

Reply via email to