Django Forms: How to Automatically Set the Author on Save
You’ve secured your views. Now you have a new problem. When a user creates a new post, how do you save who that user was?…

You’ve secured your views. Now you have a new problem. When a user creates a new post, how do you save who that user was?…

A blog isn’t complete until users can comment. This project will teach you one of Django’s most important concepts: database relationships (ForeignKeys). Building a Django…

HTML forms are painful. You have to write the <input> tags, handle the POST request, validate that the user didn’t leave fields blank, and show…
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
You can find more information about our Cookie Policy and Privacy Policy.