>>> from django.urls import reverse >>> c = Choice.objects.get(...) >>> change_url = reverse('admin:polls_choice_change', args=(c.id,))