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.
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.
🚀🚀
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
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
orconfig
.Anyway, feel free to code the project in your own way.
🚀🚀