

def get_preview_url(self):
    content_type = ContentType.objects.get_for_model(Scribble)
    return reverse('preview-scribble', args=(content_type.pk,))

dataset/ETHPy150Open caktus/django-scribbler/scribbler/forms.py ScribbleForm.get_preview_url/original