# Dynamically extend serializer field list in Django REST fw

**URL:** <https://forum.djangoproject.com/t/dynamically-extend-serializer-field-list-in-django-rest-fw/9156>\
**Category:** Forms & APIs\
**Created:** [August 9, 2021, 1:08pm UTC](https://forum.djangoproject.com/t/dynamically-extend-serializer-field-list-in-django-rest-fw/9156 "2021-08-09T13:08:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![samul-1](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/samul-1/32/4767_2.png) [@samul-1](https://forum.djangoproject.com/u/samul-1)\
**Post date:** [August 10, 2021, 1:38pm UTC](https://forum.djangoproject.com/t/dynamically-extend-serializer-field-list-in-django-rest-fw/9156/3 "2021-08-10T13:38:51Z")

</div>

> [@KenWhitesell](#):
>
> I _think_ the issue you think you’re running into is that you don’t believe you have access to `self.context["request"].user.is_staff` before you call `super()` , preventing you from modifying `self.fields` before it.

You understood me right!

I’ll give what you said a try and report back.

---

_[View the full topic](https://forum.djangoproject.com/t/dynamically-extend-serializer-field-list-in-django-rest-fw/9156)._
