How to Create a Simple Home Page using Class Based Views (Django Tutorial) | Part 43

preview_player
Показать описание
Enjoyed my video? Leave a like!
Рекомендации по теме
Комментарии
Автор

Finally starting to get the syntax. I figured out the home:home error before you mentioned it. Way better than Lynda, cheers Max!

samyoe
Автор

Ok, so if you are using django 2.0 probably your application was broken in the last video. What is causing it its our middleware and login_redirect.
Go to tutorial/settings.py and change the LOGIN_REDIRECT_URL to ='/home/' .This probably will correct the problems.

JogatinaNerd
Автор

I'm having an issue with what I linked to the login redirect url. Ever since I updated the environment variable Django Settings Module and added the new app home, I can get access to the admin, the home page, profile, edit, register etc. However when I go to the login page and try logging in I'm getting the error page not found at /account/. Not sure why this is happening, but it seems like it is related to login redirect. Any info/help on this?

phillipswartz
Автор

how we can submit a form data into our database? suppose i have a blog form which i made using html and i want to save it. then how will i do it. if possible please add a video about this.
and also i want to know how to make a comment box so that user can comment on an article and also store these comment in our database so that it loads on the next time.
Thanks

vikram
visit shbcf.ru