Django, logging in with Putty issues
-
- This is my homepage
- Posts: 228
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sun Feb 20, 2011 12:23 pm
Django, logging in with Putty issues
I'm working with Django, getting a feel for it along with the other tools for my web building but for Django, I have issues logging in with Putty in SSH, so I can open up a shell where I can input my user name but then the cursor just sits there when trying to input the pw, any ideas?
- Vanderburg
- Former staff
- Posts: 1253
- Joined: Sat Nov 13, 2010 7:27 am
- Location: Dallas, TX
Re: Django, logging in with Putty issues
When you are entering your password, it doesn't show anything. You just have to type it in, assume you've entered all the correct characters and hit enter. If you got it, you'll log in, if not, you'll have to re-enter it.
Re: Django, logging in with Putty issues
Hi Van, I've tried that assuming the issue at hand was security related, but that doesn't work sorry.Vanderburg wrote:When you are entering your password, it doesn't show anything. You just have to type it in, assume you've entered all the correct characters and hit enter. If you got it, you'll log in, if not, you'll have to re-enter it.
Well ok, check that as it seems that I'm in now...
Re: Django, logging in with Putty issues
I'm over at Django home site and following thru their install guide and tutorial, I can verify that python is installed of course but then as per their guide, to verify that Django can be seen by Python, type python from your shell. Then at the Python prompt, try to import Django:
but I get this:

Code: Select all
>>> import django
>>> print django.get_version()
1.3

Re: Django, logging in with Putty issues
Ok so I get this startup page:
It worked!
Congratulations on your first Django-powered page.
Of course, you haven't actually done any work yet. Here's what to do next:
If you plan to use a database, edit the DATABASES setting in sample_project/settings.py.
Start your first app by running python sample_project/manage.py startapp [appname].
You're seeing this message because you have DEBUG = True in your Django settings file and you haven't configured any URLs. Get to work!
Where do I edit DATABASES setting and changing the DEBUG setting as well?
It worked!
Congratulations on your first Django-powered page.
Of course, you haven't actually done any work yet. Here's what to do next:
If you plan to use a database, edit the DATABASES setting in sample_project/settings.py.
Start your first app by running python sample_project/manage.py startapp [appname].
You're seeing this message because you have DEBUG = True in your Django settings file and you haven't configured any URLs. Get to work!
Where do I edit DATABASES setting and changing the DEBUG setting as well?
Re: Django, logging in with Putty issues
From that message, it seems that editing sample_project/settings.py would be required. Or, you could create your own project.
Django on shared hosting is different than Django on your own VDS. When logging in through SSH, you have to set up the environment with a .bash file we include in your home directly, IIRC.
It's been a while since I last looked at this, and Django is quite complicated. If you need more extensive help on it, I might have some time next month, but this month, I am really, really swamped with BF3 work, with a hard deadline on it.
Django on shared hosting is different than Django on your own VDS. When logging in through SSH, you have to set up the environment with a .bash file we include in your home directly, IIRC.
It's been a while since I last looked at this, and Django is quite complicated. If you need more extensive help on it, I might have some time next month, but this month, I am really, really swamped with BF3 work, with a hard deadline on it.
Re: Django, logging in with Putty issues
Good morning John, you know I'm merely trying to have these programs installed and setup properly so then I can use their tutorials and resources after the fact at my leisure. I realize that I'm certainly in over my head on a lot of this but only way to learn is to jump right in and try and ask the right questions I hope. I so understand the pressure you're under for the release of BF3 and am so looking forward to our 64 player server online, I would be honored should your schedule allow to have your help on any of this in the coming months, thanks for all you and the crew do here, truly amazing and as such I'm glad to be back in the fold.Edge100x wrote:From that message, it seems that editing sample_project/settings.py would be required. Or, you could create your own project.
Django on shared hosting is different than Django on your own VDS. When logging in through SSH, you have to set up the environment with a .bash file we include in your home directly, IIRC.
It's been a while since I last looked at this, and Django is quite complicated. If you need more extensive help on it, I might have some time next month, but this month, I am really, really swamped with BF3 work, with a hard deadline on it.