Everything has gone smoothly until this part.
I write this and get the next error. This is with my enviromen_variable: DJANGO_SETTINGS_MODULE set to where I can find the settings.py in my project.
C:\Prosjekter\Djangotest\testproject>python manage.py shell
ImportError: Could not import settings 'C:\Prosjekter\Djangotest\testproject\testproject' (Is it on sys.path?): Import by filename is not supported.
With out the env variable I get this error:
C:\Prosjekter\Djangotest\testproject>python manage.py shell
ImportError: No module named user
I have done the sync part and I can see that the postgreSQL have the tables in its database.
I have also done everything right until this part.
As i understood, I did not have to set env variable when I used python manage.py shell.
Can someone help me please:)
-- 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/-/K6AnN76HChoJ.
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