Doubt with Python + django

3

I'm starting with Python and Django, following a tutorial I found: link

When I run the django-admin command with startproject, it does not generate that folder structure it shows in the tutorial, it just creates a file that opens directly in 'visualstudio. My question is this, the structure is auto-generated, or needs to be created in the hand, if it is automatic, what will I do wrong.

I'm using python 3.5 and django 1.9.7

    
asked by anonymous 17.06.2016 / 18:47

2 answers

2

Wellington, good afternoon.

I'm also starting in Python and if I'm not mistaken, when you're in the Windows environment, commands at the command prompt should not use ".py" at the end.

Only in Linux or MAC environment do you use ".py" at the end.

I'm going to do some tests when I have my environment ready to confirm.

    
07.07.2016 / 21:59
0

//docs.djangoproject.com/en/1.9/faq/troubleshooting/#troubleshooting-django-admin">link , says that to use without .py at the end of the command. Doing my tests and now created the folder hierarchy I was hoping for.

    
17.06.2016 / 23:44