Hi,

Sounds great.

On Fri, Aug 12, 2016 at 11:12 AM, RompePC <durillo19942...@gmail.com> wrote:

> Ok, I just did again a *unicode(..)* call to a method that before worked
> without it. Sincerely, I just have no idea why now I need to do it.
>
> Solved.
>
>
> El jueves, 11 de agosto de 2016, 12:58:20 (UTC+2), RompePC escribió:
>>
>> I was working on an admin panel, and when I try to get to the add/update
>> view of the model, it just throws this error. I've been checking Google for
>> all the morning, but the solutions I've just found aren't the problem I've
>> (no problem with unicode, I check if the related object is None, etc.).
>>
>> The exception throwed is (line 28):
>>
>>
>> coercing to Unicode: need string or buffer, NoneType found
>>
>> 18
>> 19 {% if field|is_checkboxselectmultiple %}
>> 20 {% include 'bootstrap3/layout/checkboxselectmultiple.html' %}
>> 21 {% endif %}
>> 22
>> 23 {% if field|is_radioselect %}
>> 24 {% include 'bootstrap3/layout/radioselect.html' %}
>> 25 {% endif %}
>> 26
>> 27 {% if not field|is_checkboxselectmultiple and not field|is_radioselect
>> %}
>> 28 {% if field|is_checkbox and form_show_labels %}
>> 29 <label for="{{ field.id_for_label }}" class="{% if
>> field.field.required %} requiredField{% endif %}">
>> 30 {% crispy_field field %}
>> 31 {{ field.label|safe }}
>> 32 {% include 'bootstrap3/layout/help_text_and_errors.html' %}
>> 33 </label>
>> 34 {% else %}
>> 35 <div class="controls {{ field_class }}">
>> 36 {% crispy_field field %}
>> 37 {% include 'bootstrap3/layout/help_text_and_errors.html' %}
>> 38 </div>
>>
>>
>> --
> 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/8d1df6a3-f941-4df3-a31b-265872ccdd17%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/8d1df6a3-f941-4df3-a31b-265872ccdd17%40googlegroups.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/CAK52boXsTZk%2BQoO9h5XEGiyW%2Bvso%3D9jNtyW2%2BMkZv1s2CSRBsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to