Hi My french isn't great, and this list mostly uses English, so you'll probably get a better response if you can post in English even if you resort to google translate (like I have below ) but I think the intent of your email was clear. Your error was "view stocksystema.views.home didn't return an HttpResponse object. It returned None instead." is pretty much to the point views - need to return a Response object which contains as the response HTML , or status etc. (ie. anything which goes to the browser) you either returned 'None', or possible fell out of the bottom of the function without a return value - which python interprets as None. --- (en Francais via Google) Mon français n'est pas génial, et cette liste utilise principalement l'anglais, donc vous obtiendrez probablement une meilleure réponse si vous pouvez poster en anglais même si vous recourez à google translate (comme ci-dessous) mais je pense que l'intention de votre e-mail C'était clair.
Votre erreur était "view stocksystema.views.home n'a pas renvoyé d'objet HttpResponse. Il a renvoyé None à la place." est à peu près au point que les vues ont besoin de retourner un objet Response qui contient comme réponse HTML , ou status etc. (c'est-à-dire tout ce qui va au navigateur) vous avez soit retourné 'Aucun', soit peut-être tombé du bas du fonction sans valeur de retour - que python interprète comme None. HTH, TTFN On Thu, 2021-06-10 at 07:32 -0700, Dieu merci Dramani wrote: > Bonjour tous !Je suis nouveau en django-python et j'apprends. > voici le fichier contenant le sms d'erreur. > > > > -- > > 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 django-users+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/15b87f54-afa1-4f01-9e6e-a496fe0fa81fn%40googlegroups.com > . > -- 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 django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4f6a93fd9ea54cf89843df0af798ee8fbb8741da.camel%40gammascience.co.uk.