You are not logged in.

Change Language:

Freelancer? Consultant? Check out: WorkTrail - Time Tracking made easy
Board » Django » Python Programming » Question about using Django framework?

I'm working on a web project using Django framework and python language, actually I'm learning to use it for web programming.
But I have two problems with Django framework:
First: I'v installed PyCharm and Django framework. When I run my project, "ruserver" process proceeds successfully but instantly an error comes out and stops server. This is the exact phrase: "Error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions". I have unabled my firewall and my antivirus, but no change happened.
I should mention that I'v tested this project in another computer and it absolutely worked well. So, I think there should be something wrong with my computer, but I can't find out what!
Second: I can't access to databases. I primarily know that I should mention type and other stuff about my database in the file "settings.py" but it didn't work. I don't know why. I'v not worked with databases very much before and I'm kinda new. Can anyone help me with details about it, please?
Which OS are you using? Windows?

P.S. Maybe it was just a typo error, but you should use ./manage.py runserver insted of "ruserver".
I'm actually using an IDE named "pycharm"
i don't enter commands in the python command line, i just run the project from pycharm. the compiler does it, so there won't be a typo missing
Which OS are you using? Windows?

P.S. Maybe it was just a typo error, but you should use ./manage.py runserver insted of "ruserver".
i have win 7





Powered by Sphene Community Tools