S
S
Salavat Sharapov2014-05-30 07:02:26
Django
Salavat Sharapov, 2014-05-30 07:02:26

How to set dynamic path to load django-filebrowser+TinyMCE?

It is necessary to predetermine which directory for the user the directory for the applet will open when calling filebrowser via TinyMCE. Is it possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Salavat Sharapov, 2014-06-05
@desperadik

from filebrowser.sites import site
site.directory = "uploads/" + "%s" % request.user.id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question