This is a super short post with a simple tip that can be performed in any Django project. Though simple, it aids in keeping the code clean, and easy to debug and maintain. I cannot emphasize the usefulness of this step. When I started to learn Django...

Markdown supported · ⌘↵ to post
Let me check thon. Thanks for pointing that out.
Thank you for this clever idea, Sambhavi! It should help keep my code cleaner, safer, and more consistent from project to project, as well as being a time saver.
thon
albacore
Hello, I’m a newbie trying to learn Django, I followed the exact same steps as described here, and had an error on the 7th step. the name 'base' is not defined, I think you forgot to include this line in 'manage.py' on line 5 : "from project_name.settings import base"