Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Django by Error Messages

In this lesson, you’re going to learn about developing by error messages. It’s a great way to approach programming in general.

Error messages are your friends! They’re there to help you. Essentially, the computer is telling you, “Something’s not right. Here’s a helpful tip to help you solve your problem.”

Comments & Discussion

reblark on Feb. 18, 2020

By the way, this little discussion about error messages and your emphasis on reading them has been very helpful to me in every piece of development work that I have tackled. It’s great.

tomislavm021 on July 19, 2020

I have created a project with django-admin startproject . So i added a “.” and now i dont have manage.py inside that project folder.

So i went back into cmd and creted a new project but this time without a dot on the end, and i got manage.py inside that project folder…

Any tips please? Thanks

Ricky White RP Team on July 20, 2020

Hi Tom,

The . tells Django to put the app files in the current working directory. If you provide it with a name instead of a dot, it will create a folder inside your current working directory that will contain the Django files. Be sure when you run startproject that your current working directory is where you want your Django files to live. This will be known as your root directory. The manage.py lives in your root directory along side your Django app. That is the intended behavior.

Become a Member to join the conversation.