Details

    • Type: Sub-task Sub-task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: TAG 2018/19 Sprint 1
    • Fix Version/s: TAG 2018/19 Sprint 1
    • Component/s: OIOIOI
    • Labels:

      Description

      The get_fields() method returned different reverse fields when called on a proxy model compared to its proxied concrete class. It was fixed in Django 1.10 by returning full set of fields pointing to a concrete class or one of its proxies in both cases.

      Docs: https://docs.djangoproject.com/en/2.1/releases/1.10/#meta-get-fields-returns-consistent-reverse-fields-for-proxy-models

        Activity

        Hide
        Michał Sidor added a comment -
        I checked the occurences in [oi-hound](http://yuu.iscute.ovh/oi-hound/?q=get_fields&i=nope&files=%5C.py&repos=filetracker,oioioi,sioworkers) and verified that they return visually the same thing in Django 1.9 and Django 1.10
        Show
        Michał Sidor added a comment - I checked the occurences in [oi-hound]( http://yuu.iscute.ovh/oi-hound/?q=get_fields&i=nope&files=%5C.py&repos=filetracker,oioioi,sioworkers ) and verified that they return visually the same thing in Django 1.9 and Django 1.10

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Marek Żochowski
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: