Tuesday, August 28, 2012

Re: Problems with first tutorial

C:\Prosjekter\Djangotest\testproject>python manage.py shell --traceback
Traceback (most recent call last):
  File "C:\Python32\lib\site-packages\django\core\management\commands\shell.py", line 64, in handle_noargs
    self.run_shell(shell=interface)
  File "C:\Python32\lib\site-packages\django\core\management\commands\shell.py", line 48, in run_shell
    raise ImportError
ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Python32\lib\site-packages\django\core\management\base.py", line 222, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "C:\Python32\lib\site-packages\django\core\management\base.py", line 252, in execute
    output = self.handle(*args, **options)
  File "C:\Python32\lib\site-packages\django\core\management\base.py", line 382, in handle
    return self.handle_noargs(**options)
  File "C:\Python32\lib\site-packages\django\core\management\commands\shell.py", line 92, in handle_noargs
    import user
ImportError: No module named user
ImportError: No module named user


Does it make any sense to you?

On Tuesday, August 28, 2012 11:47:09 AM UTC+2, Melvyn Sopacua wrote:
On 28-8-2012 11:21, Snorre Edwin wrote:
> It didnt seem to work. All i get is the error:
>
> C:\Prosjekter\Djangotest\testproject>python manage.py shell
> ImportError: No module named user

The traceback should show where the import error is raised:
python manage.py shell --traceback

--
Melvyn Sopacua

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/7EfdIYBayF8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment