Google App Engine lets you run your web applications on Google’s infrastructure.
It is kind of web hosting server I think.
Django can be also served with google app engine.
After you made changes,
to see its effect,
execute restart under apache2/bin/
>/home/pyncus/webapps/django11/apache2/bin/restart
Ignore everything between {% comment %} and {% endcomment %}
First, download Django-1.1.1.tar.gz. Then:
tar xzvf Django-1.1.1.tar.gz
cd Django-1.1.1
sudo python setup.py install
When I have been surfing around django sites, I saw many webfaction service advertised.
For my new project, I just started to search for web hosting service and finally decided to go with Webfaction.
The major concern I had in choosing webfaction was limited disk space and bandwidth.
However, I realized that anyway my website will have low [...]
Found an interesting web site
cooltext.com
which provides a free graphic generation for web pages.
I found an interesting python development method that can be done from a usb drive.
portable python
portableapps.com has many interesting apps:
1. commandprompt portable
2. notepad++ portable
3. sumatrapdf portable
4. putty portable
5. winscp portable
etc.
After installing portablepython
execute
SPE-Portable.exe
open manage.py
and run (F9) with argument “runserver”
1.
In settings.py
EMAIL_HOST = ‘localhost’
EMAIL_PORT = 1025
EMAIL_HOST_USER = ”
EMAIL_HOST_PASSWORD = ”
EMAIL_USE_TLS = False
DEFAULT_FROM_EMAIL = ‘testing@example.com’
2. Execute
$python -m smtpd -n -c DebuggingServer localhost:1025
Nothing will happen until you send email.
3.
$python manage.py shell
>>>from django.core.mail send_mail
>>>send_mail(’subject’, ‘body’,’from@example.com’,['youremail@gmail.com'])
This will display the mail.
Copy template files under
contrib/comments/templates/comments
into your default template directory.
Change your template files. Template loader will find files first at your default template directory.
Then,
import datetime
