|
Posted by Acropolis |
|
|
Hi Folks,
This is a follow up post to my previous post (python manage,py validate: Error ) which is yet is to be answered by others in this forum. But i would like to clarify the things which i did till now. Steps: 1) I used the command (python -m django.bin.django-admin startproject mysite) to create a project "mysite" since the command (django-admin.py startproject mysite) was not working 2) This command created the following directory structure, i want to verify all my steps mysite (parent folder) / - books - manage.py - mysite - templates So, the first mysite (is the parent folder) and there is another mysite folder created. Am not sure whether this is right. Since there is a child (mysite) and parent (mysite) folder. The child folder mysite has mysite/ __init__.py settings.py urls.py But in the Book (online Django book) i dont see the child folder (mysite) mysite/ __init__.py manage.py settings.py urls.py All the intermediate steps worked until i reached the 5th chapter about models where the command (python manage.py validate) didnt word and generated this error (Error: No module named books) My Django Version: >>> import django >>> django.VERSION (1, 4, 0, 'final', 0) Could any please clarify or give suggestions on this ? |


