Wednesday, July 31, 2013

Re: pdf conversion error

2013/7/29 Harjot Mann <>:
> I am trying to convert the html templates in my project from localhost
> using wkhtltopdf. I used weasyprint and a script also but the getting
> the same errror from all. It creates the pdf but inside this is
> written:
> Not Found
> The requested URL /accounts/login/ was not found on this server.
> Apache/2.2.22 (Ubuntu) Server at localhost Port 80
> What is its solution??

You probably have in your view the decorator 'login_required' and you
have defined de correct url of login whit LOGIN_URL in your settings.

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment