Hmm, I would assume that the media library is not going to work for non admin users. You'll have to implement file uploads yourself. I would start by checking how Mezzanine handles file uploads in TinyMCE and emulating that without the admin checks.
But first make sure you want non admin users uploading files to your server. I would recommend implementing a regular file field in the form and using the rich text editor for text only. On Jun 4, 2017 3:12 PM, "Diego Castro" <[email protected]> wrote: > Thank you for your answer Eduardo. No, I had not included {{form.media}}. > Now the richtextfield is displayed correctly, thank you very much. But > there is a problem, if I want to load an image the following error appears > > Page not found (404) > Request Method: GET > Request URL: http://127.0.0.1:8000/fisica/undefined/?pop=5&type=image > Raised by: mezzanine.pages.views.page > > I am putting in the template the following: > > <form method="POST" enctype="multipart/form-data"> > {% csrf_token %} > {{ form.media }} > {{ form.as_p }} > <button type="submit" class="save btn btn-default">Crear</button> > </form> > > I am doing something wrong? > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
