#19429: Admin inlines readonly fields ignore newlines
-------------------------------+--------------------
Reporter: anonymous | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
like bug #19226 but with inlines.

The problem is readonly fields in inlines are rendered inside a <p></p>
without <br> tags for each line.

--
Ticket URL: <https://code.djangoproject.com/ticket/19429>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to django-updates+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Django at Dec 5, 2012 at 10:12 pm
    #19429: Admin inlines readonly fields ignore newlines
    -------------------------------------+-------------------------------------
    Reporter: anonymous | Owner: nobody
    Type: Bug | Status: new
    Component: contrib.admin | Version: 1.4
    Severity: Normal | Resolution:
    Keywords: | Triage Stage: Ready for
    Has patch: 1 | checkin
    Needs tests: 0 | Needs documentation: 0
    Easy pickings: 1 | Patch needs improvement: 0
    UI/UX: 0
    -------------------------------------+-------------------------------------
    Changes (by glic3rinu):

    * cc: glic3rinu (added)
    * needs_better_patch: => 0
    * component: Uncategorized => contrib.admin
    * needs_tests: => 0
    * easy: 0 => 1
    * needs_docs: => 0
    * has_patch: 0 => 1
    * type: Uncategorized => Bug
    * stage: Unreviewed => Ready for checkin


    --
    Ticket URL: <https://code.djangoproject.com/ticket/19429#comment:1>
    Django <https://code.djangoproject.com/>
    The Web framework for perfectionists with deadlines.

    --
    You received this message because you are subscribed to the Google Groups "Django updates" group.
    To post to this group, send email to django-updates@googlegroups.com.
    To unsubscribe from this group, send email to django-updates+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Django at Dec 5, 2012 at 10:13 pm
    #19429: Admin inlines readonly fields ignore newlines
    -------------------------------------+-------------------------------------
    Reporter: anonymous | Owner: nobody
    Type: Bug | Status: new
    Component: contrib.admin | Version: 1.4
    Severity: Normal | Resolution:
    Keywords: | Triage Stage: Ready for
    Has patch: 1 | checkin
    Needs tests: 0 | Needs documentation: 0
    Easy pickings: 1 | Patch needs improvement: 0
    UI/UX: 0
    -------------------------------------+-------------------------------------

    Comment (by glic3rinu):

    The attached patch fixes the problems and also has tests.

    --
    Ticket URL: <https://code.djangoproject.com/ticket/19429#comment:2>
    Django <https://code.djangoproject.com/>
    The Web framework for perfectionists with deadlines.

    --
    You received this message because you are subscribed to the Google Groups "Django updates" group.
    To post to this group, send email to django-updates@googlegroups.com.
    To unsubscribe from this group, send email to django-updates+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Django at Dec 6, 2012 at 8:54 am
    #19429: Admin inlines readonly fields ignore newlines
    -------------------------------------+-------------------------------------
    Reporter: anonymous | Owner: nobody
    Type: Bug | Status: closed
    Component: contrib.admin | Version: 1.4
    Severity: Normal | Resolution: fixed
    Keywords: | Triage Stage: Ready for
    Has patch: 1 | checkin
    Needs tests: 0 | Needs documentation: 0
    Easy pickings: 1 | Patch needs improvement: 0
    UI/UX: 0
    -------------------------------------+-------------------------------------
    Changes (by Claude Paroz <claude@…>):

    * status: new => closed
    * resolution: => fixed


    Comment:

    In [changeset:"553838a285d6ef4005d7a97fc07aebfb0dcdb921"]:
    {{{
    #!CommitTicketReference repository=""
    revision="553838a285d6ef4005d7a97fc07aebfb0dcdb921"
    Fixed #19429 -- Applied linebreaksbr to read-only fields in inlines

    Applied to inlines what ec9d6b1122d did for main fieldsets.
    }}}

    --
    Ticket URL: <https://code.djangoproject.com/ticket/19429#comment:3>
    Django <https://code.djangoproject.com/>
    The Web framework for perfectionists with deadlines.

    --
    You received this message because you are subscribed to the Google Groups "Django updates" group.
    To post to this group, send email to django-updates@googlegroups.com.
    To unsubscribe from this group, send email to django-updates+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Django at Dec 6, 2012 at 8:55 am
    #19429: Admin inlines readonly fields ignore newlines
    -------------------------------------+-------------------------------------
    Reporter: anonymous | Owner: nobody
    Type: Bug | Status: closed
    Component: contrib.admin | Version: 1.4
    Severity: Normal | Resolution: fixed
    Keywords: | Triage Stage: Ready for
    Has patch: 1 | checkin
    Needs tests: 0 | Needs documentation: 0
    Easy pickings: 1 | Patch needs improvement: 0
    UI/UX: 0
    -------------------------------------+-------------------------------------

    Comment (by Claude Paroz <claude@…>):

    In [changeset:"57a41d985acabc7fc25f08081e58f0978cc8c1dc"]:
    {{{
    #!CommitTicketReference repository=""
    revision="57a41d985acabc7fc25f08081e58f0978cc8c1dc"
    [1.5.x] Fixed #19429 -- Applied linebreaksbr to read-only fields in
    inlines

    Applied to inlines what ec9d6b1122d did for main fieldsets.
    Backport of 553838a28 from master.
    }}}

    --
    Ticket URL: <https://code.djangoproject.com/ticket/19429#comment:4>
    Django <https://code.djangoproject.com/>
    The Web framework for perfectionists with deadlines.

    --
    You received this message because you are subscribed to the Google Groups "Django updates" group.
    To post to this group, send email to django-updates@googlegroups.com.
    To unsubscribe from this group, send email to django-updates+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdjango-updates @
categoriesdjango, python
postedDec 5, '12 at 3:16p
activeDec 6, '12 at 8:55a
posts5
users1
websitedjangoproject.com

1 user in discussion

Django: 5 posts

People

Translate

site design / logo © 2018 Grokbase