In this tutorial, we'll build a Blog application with Django that allows users to create, edit, and delete posts. The homepage will list all blog posts, and there will be a dedicated detail page for each individual post. Also, visitors can comment on the post and we make a threaded comment system. Django is capable of making more advanced stuff but making a blog is an excellent first step to get a good grasp of the framework.
Django is a web framework written in Python. Pyjamas is a Python port of the google web toolkit (written in Java). Pyjamas can be used with Django to create web applications.
There's plenty of material (documentation, blogs, books) out there that'll help you write a site using Django… but then what? You've still got to test, deploy, monitor, and tune the site; failure at deployment time means all your beautiful code is for naught.
This tutorial examines how best to cope when the Real World intrudes on your carefully designed website.
Article Writing & Guestpost
You Can Join this Site for Your Article & guest post, Just Easy way to join this site & total free Article site. This site article post to totally free Way. Guest Post & Article Post live to Life time only for Current & this time new User.
http://guestpostonline.com
Luckily, I found an article taking about Benchmark of Python WSGI Servers by Nicholas Piël. I'm impressed by this benchmark because of its richness as the author compares 15 WSGI servers and to be honest, most of them I have never heard.
Link.objects.get_or_create(
url = info['href'],
description = info['extended'],
tags = info.get('tag', ''),
date = parsedate(info['time']),
title = info['description']
But we don't want to have to log in to the shell every time we want to update our displayed list of bookmarks. In fact, we want our site to automatically update itself. To do that, we're going to write a quick python script and then run it through a cron job.
Well, it turns out there's a very powerful feature baked into Django which can handle the task for us.
Django includes an internal "dispatcher" which allows objects to listen for signals from other objects.
In our case, our tumblelog app is going to "listen" to our Entry and Link models. Every time a new Entry or Link is saved, those models will send out a signal. When the tumblelog app gets the signal it will automatically update itself.