when customizing admin site we can use list
or tuple
like
@admin.register(Model_name)
class Model_nameAdmin(admin.ModelAdmin):
list_display = ['a', 'b', 'c'] # using list
# lets say a, b, c are fields of model(Model_name)
or
list_display = ('a', 'b', 'c') # using tuple
I'm curious Is there any difference using a list over tuple or vice-versa like performance while retrieving the admin site or something like that. I know tuples are better than lists for performance but we aren't looping here. I've looked at whats-the-difference-between-lists-and-tuples, why-does-django-use-tuples-for-settings-and-not-lists, why-djangos-modeladmin-uses-lists-over-tuples-and-vice-versa, but didn't get my answer. Is it better to use tuple all the time? I'm asking specifically for the admin site.