Have you said which version of Django you are using? (If so, it slipped
past me.)
Is this all code that you wrote yourself, or did you copy some or all it
from somewhere?
If copied, under what version of Django was it being used?
Have you gone through and understood the tutorial for the version
Not all that useful unless you un-hide the file extensions.
I'm guessing that there are manage.py scripts in both the upper and lower
blog1 directories. For recent Djangos, manage.py should only be in the
upper directory. The lower directory contains settings.py, urls.py, wsgo/[u
amd
And where is your settings.py file? If it is in the same directory as
manage.py, and it is a reasonably current Django (1.4, 1.5), then it's in
the wrong place. It belongs in a sub-directory named 'blog1', along with
your urls.py, wsgi.py and an empty __init__.py .
On Wed, Sep 25, 2013 at
Can you please check this thread
http://stackoverflow.com/questions/12987648/importerror-could-not-import-settings
.
On Wed, Sep 25, 2013 at 11:10 PM, s. gulab wrote:
> When i give " ./manage.py syncdb " i am getting following error.
>
> " *Traceback (most recent call
When i give " ./manage.py syncdb " i am getting following error.
" *Traceback (most recent call last):*
* File "manage.py", line 10, in *
*execute_from_command_line(sys.argv)*
* File "c:\Python27\lib\site-packages\django\core\management\__init__.py",
line*
*453, in
5 matches
Mail list logo