|
I just followed the tutorial at http://docs.webfaction.com/software/django/getting-started.html to run my blog on my server and got this error while trying to add an item in the admin section. The error is coming on the line :
It's working fine on my local machine. Any solutions? |
|
The issue has been resolved thanks to ryan's advice about conflicting versions. Thanks! |
A couple of questions to help us assess the problem a bit better:
Hi ryans,
I'm running 1.5.x on my local machine I'm not able to bind the django server to a different port other than 8000 and I can't seem to get access to that particular server.
So, I'm guessing it's a version issue? I'll try writing something simple with the running version and see if I get the error again.
Django code which is designed for Django version 1.5 will not run under Django 1.4.1, which is the current latest stable Django installed into new Django applications by default. If you're using this, you'll want to install a mod_wsgi application and then install the latest django libraries manually.
As for binding to another port, the
python2.7 manage.py runserver 12345command would run the development server on port 12345. You generally should be able to run this on any port that you need to.Hi ryans,
Thanks for the reply. Yes, I'm currently working on the remote machine (gives me a chance to revise django!).
I tried doing that but it kept on giving me a message saying that it couldn't do that. It was only able to bind it to the default 8000.
That's certainly odd that
runservercannot bind on other ports. If you'd like us to take a closer look, just open a support ticket and let us know.