Thursday, October 23, 2014

Re: django-admin creates the views.py files in the wrong place!

On Thursday, 23 October 2014 15:34:15 UTC+1, Aliane Abdelouahab wrote:
i followed exactly by words the tutorial
and it seems the problem is about creating the double directory, and when doing startapp it creates a directory parallel to the other one created?

Sorry, I've no idea what you mean. `startproject` will create the outer project directory and the inner settings/urls directory, but doesn't create any views. `startapp` will create another directory, inside the project directory, containing views and models. None of these need moving anywhere.
--
DR.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f3cee6ef-ee4d-41dd-9700-af86cf13eb6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment