1

I dont know why every time i create a project with this command, it creates an empty folder:

django-admin start-project myProject

These are the files that I have in my directory:

enter image description here

What I noticed is that I do not have the django-admin.py file, is that normal? why when I execute the command, it does not throw me any error?

enter image description here

When I go to see the folder created previously, I find an empty folder: enter image description here

  • Possible duplicated of https://stackoverflow.com/questions/3681216/django-admin-py-startproject-is-not-working, and https://stackoverflow.com/questions/8989825/django-admin-py-is-not-working , and https://stackoverflow.com/questions/18485841/django-admin-py-startproject-doesnt-work-why-fixed. How much you try to find a solution? – Maykel Llanes Garcia Apr 12 '18 at 16:22

3 Answers3

0

I solved it by updating the django to a newer version

pip install --upgrade django==1.6.5.

0

Please upgrade django to at least 1.11, because of security reasons. Especially if you are storing some valuable (user) data. See the django docs: https://docs.djangoproject.com/en/1.11/howto/upgrade-version/ for more information

Vincent
  • 1,494
  • 12
  • 26
-1

Try to reinstall Python and Django. It has to help.


Also, you use Python3.4, you should use more new Python.

joe513
  • 96
  • 1
  • 4