DEV Community

loading...

Discussion on: Django Routing - A practical introduction

Collapse
bensonmat8 profile image
bensonmat8

Loved the simple article!
Can someone tell me why '.' was added at the end of startproject command? Django documentation did not have that so was wondering what that does. I am kinda new django and was trying to learn as much as I can.

Collapse
sm0ke profile image
Sm0ke Author

Thank you! The . means to create the product in the current directory.
If you use the option to provide a directory name my_project for instance, Django will generate something like this:

  • my_project\my_project\settings...

In my projects i prefer to isolate the initial Django project in something names core or config.

Anyway, feel free to code the project in your own way.
🚀🚀