Hello,
if I write {{form.media}}, as in the following example, Mezzanine render
the TinyMCE editor, but the contents of the field is saved only if the
authenticated user is a superuser. If the authenticated user is not a
superuser, the contents of the RichTextField type field after submit form
is blank. This occurs only with the RichTextField type field.
Anyone know why?
<form method="POST">
{% csrf_token %}
{{ form.media }}
{{ form.as_p }}
<button type="submit">{% trans "Submit" %}</button>
</form>
Il giorno mercoledì 20 giugno 2012 19:27:09 UTC+2, Daniel França ha scritto:
>
> Olá, pessoa.
> Estou tentando utilizar o campo RichTextField em um formulário que estou
> criando para o meu site, porém quando entro com um usuário que não é
> superuser o campo aparece como textarea simples, tem alguma configuração
> que preciso mexer ou algo que posso fazer para que mesmo os usuários
> simples tenham acesso ao RichTextField?
>
> Abs,
> Daniel França
>
--
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.