Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dot in `django-admin.py startproject myproject .`

Tags:

django

I keep the question in mind when read through Django source codes for weeks.

Start project with Django,

django-admin.py startproject myproject . # a tailed dot in the end

manage.py will be created outside the project folder.

if without '.',

manage.py will be included in project folders.

How does the '.' work?

like image 219
AbstProcDo Avatar asked Nov 10 '17 05:11

AbstProcDo


1 Answers

The dot means: Create the project directly in the current directory, without creating a folder for it

like image 94
Ammar Alyousfi Avatar answered Sep 28 '22 18:09

Ammar Alyousfi