Google Groups Home
Help | Sign in
Como chamar 404 caso nao haja conteudo no admin...
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Felipe 19  
View profile
 More options May 14, 2:08 pm
From: Felipe 19 <182fel...@gmail.com>
Date: Wed, 14 May 2008 11:08:40 -0700 (PDT)
Local: Wed, May 14 2008 2:08 pm
Subject: Como chamar 404 caso nao haja conteudo no admin...
E ae pessoal ta eu aqui outra  rsrs

Bom a duvida é essa, quando nao tenho  nenhum conteudo de texto  no
admin para mandar pra pagina  ele retorna esse erro   Match query does
not exist, logo após vo la e adciono algum conteudo relativo a pagina
desse erro e fica tudo normal, ai queria  no lugar desse erro  de
falta de conteudo  retornasse uma pagina 404 por exemplo...

tem como fazer isso?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MAYRON  
View profile
 More options May 14, 2:55 pm
From: MAYRON <mayroncach...@gmail.com>
Date: Wed, 14 May 2008 15:55:58 -0300
Local: Wed, May 14 2008 2:55 pm
Subject: Re: [django-brasil] Como chamar 404 caso nao haja conteudo no admin...

Não entendi muito bem sua pergunta (estou perturbado),
http://www.djangoproject.com/documentation/request_response/#the-http...
http://www.djangoproject.com/documentation/shortcuts/#get-object-or-404

acho que esses links vão te ajudar, se for o que eu imaginei!

--
Mayron Cachina Santiago
http://cachina.wordpress.com
http://job4dev.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google