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

Viewed 2472

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?

1 Answers

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

Related