Skip to content
Snippets Groups Projects
Commit 1d030947 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[ui][registration][admin] Move __unicode__ to __str__

__unicode__ is a leftover of Python 2
parent bf0428dc
No related branches found
No related tags found
1 merge request!314Cleanup model representation
......@@ -32,7 +32,7 @@ from .models import PreregistrationProfile
class RegistrationAdmin(admin.ModelAdmin):
list_display = ("__unicode__", "activation_key_expired")
list_display = ("__str__", "activation_key_expired")
search_fields = ("user__username", "user__first_name")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment