fdemmer / django-weasyprint

A Django class-based view generating PDF resposes using WeasyPrint
Other
352 stars 53 forks source link

Fix reference to urlparse in utils.py #19

Closed jayennis22 closed 6 years ago

jayennis22 commented 6 years ago

Correct reference of to urlparse to prevent this error: django_weasyprint/utils.py", line 22, in django_url_fetcher url_path = parse.urlparse(url).path NameError: name 'parse' is not defined

fdemmer commented 6 years ago

:grimacing: such a stupid mistake, thanks!