if call from browser, i got a 
TemplateDoesNotExist at /api/posts 

django_filters/rest_framework/form.htm

if called through wget i get
{"count":0,"next":null,"previous":null,"results":[]}
but there are 2 pposts

> As far as for mail_admins: from the shell i got an error, but it was
>
> > becouse google blocked it. I solved it on google panel and then try
>
> > successsfully mail_admins() from the shell.
>
> > Then i tried to open the site with browser, got the usual 500 internal
>
> > server error, but no mail to admins yet. I then set DEBUG to false
>
> > and repeat:same result, no mail to admins.
>
> > Could i use the django shell to make some test to investigate?
>
>  
>
> Yes.
>
> >>> from django.test import Client
>
> >>> c = Client()
>
> >>> c.get('/')
>
> <TemplateResponse status_code=200, "text/html; charset=utf-8">
>
> >>> len(c.get('/').content)
>
> 5307
>
>  
>
> etc.
>
> But this assumes the error is in the source. If the error is in the WSGI 
> layer, this won't help.
>
> What is your webserver + WSGI server stack?
>
> -- 
>
> Melvyn Sopacua
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to