mobenjel
mobenjel

Reputation: 11

Startapp django : does not create files

I get a problem trying to create a new app with django ... when i use python manage.py startapp newapp i get no error and the folder newapp is created but there no file in it at all ?!

it suposed to create some file minimun init.py

Regards

Upvotes: 0

Views: 2081

Answers (1)

Brandon Taylor
Brandon Taylor

Reputation: 34593

You need to use:

$ python path/to/django-admin.py startapp app_name

I'm not sure why that has never been changed in the documentation, but calling startapp using manage.py hasn't worked for me since 2008.

Upvotes: 0

Related Questions