gkomninos.com

programming, web and other stuff

Create a registration form with django

Published on June 28, 2010

In this article i will show you how you can create a user registration form with django.

  • Let's define what we need to create:

A simple registration form containing username, email and password fields .

  • lets go into code (πάμε στο ζουμί !!! ... greek)

In your application create a forms.py ...

Read full entry. . .

python delicious intergration

Published on April 2, 2010

In this post i will show how i "communicated" with delicious via python.
There are some python client libraries but i decided not to use them for learning purposes. So there is a chance that my way is not the "right" way...i am quite sure about that.

Look at ...

Read full entry. . .

Django books comparison

Published on April 2, 2010

I bought these three django books:
Python Web Development with Django
Sam's teach yourself django in 24 hours
*Practical Django Projects

In my opinion James Bennet's Practical Django Projects is the best.
Second comes Python Web Development with Django and finally third comes
Sam's Teach yourself Django ...

Read full entry. . .

How to update twitter account with python

Published on April 2, 2010

To update your twitter account via python you can use the python-twitter api.
Download it and unzip it within your PYTHONPATH ( you can do it inside a django project ... i think so). In the python interpreter you can :

 api = twitter.Api(username='', password='')
 message = 'hello twitter from python'
 status = api ...

Read full entry. . .