fields = ['a', 'b', 'c']
readonly_fields = ['a', 'b']
A and b will appear before c.

On Mon, 5 Nov, 2018, 8:03 PM Karol Ołtarzewski <2004ka...@gmail.com wrote:

> I want to place normal fields below readonly_fields
>
>
> On Mon, 5 Nov 2018 at 07:08, Joel <j...@eyrie.in> wrote:
>
>> Explain. What do you mean move on top of page?
>>
>> On Mon, 5 Nov, 2018, 2:46 AM Karol Ołtarzewski <2004ka...@gmail.com
>> wrote:
>>
>>> Good morning guys.
>>>
>>> I have a problem namely:
>>> I have to place readonly_fields on top of
>>> /admin/<something>/<something>/change page, higher than normal fields.
>>> I was looking through docs and I can't find proper function to achieve
>>> that.
>>>
>>> What I have to do to reach my goal?
>>>
>>> --
>>> 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/2d680835-393a-4011-8599-495ef8d3da29%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/2d680835-393a-4011-8599-495ef8d3da29%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/CAA%3Diw_-9u1HAJCsDh00YzCUR2ONQ6MJOW7kvT5fEPYShtr1Khw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAA%3Diw_-9u1HAJCsDh00YzCUR2ONQ6MJOW7kvT5fEPYShtr1Khw%40mail.gmail.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/CAF5bKVzRMHaEiWU3bpxTRXougkF0NQVbk-5oCj6dJ2jH3D1RwQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAF5bKVzRMHaEiWU3bpxTRXougkF0NQVbk-5oCj6dJ2jH3D1RwQ%40mail.gmail.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/CAD-d1sbjZR%3DycjN7ePBiLhiNvbyD1UF961Hg8NLdg_k30j_%2Byg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to