In my code I have following line:
STYLE_CHOICES = sorted((item, item) for item in get_all_styles())
And I just can't understand why there is (item, item) for ...
instead for example item for ...
This code snippet is from http://www.django-rest-framework.org/tutorial/1-serialization/#creating-a-model-to-work-with