From the category archives:

Uncategorized

Doing things with Django forms

by shabda on January 14, 2010

Forms are one of the best features of Django. (After models, admin, url routing etc ). Here is a quick tutorial describing how to do things with Django forms.

Basic form

Prob. You want to show a form, validate it and display it.

Ans. Create a simple form.

class UserForm(forms.Form): username = forms.CharField() [...]

{ 40 comments }

Django-buzz

by shabda on December 12, 2009

We have updated the Django popular stories widget, which powers the widget in the side bar. It is now on Github.

Earlier the code used was hardcoded to only find Django stories, but now you can create arbitary topics from admin.

Get the code and create the widgets on your servers, (or let us know, and we [...]

{ 4 comments }

What is bpython?

bpython is a fancy interface to the Python interpreter for Unix-like operating system.

says the bpython home page. It provides syntax highlighting, auto completion, auto-indentation and such stuff.

Unlike iPython, which implements then entire shell functions and emulates the standard python shell, and adds enhancements, bpython just adds features on top of the [...]

{ 59 comments }

Foss.in is without doubt India’s largest FOSS technology conference. Lakshman gave a talk today on “Python metaclasses and how Django uses them”. Here are the slides from that talk.

Doing magic with python metaclassesView more documents from Usware Technologies.

[Edit] Some reactions, http://twitter.com/jaideep2588/status/6295483833 http://twitter.com/kunalbharati/status/6296572939

And the talk images, http://twitpic.com/rxhn7

You should follow us on twitter and Subscribe to our blog

{ 12 comments }

Django for a Rails Developer

by Ashok on November 26, 2009

This is not yet another Django vs Rails blog post. It is a compilation of notes I made working with Django after having worked on Rails for years.

In this post I want to give a brief introduction to Django project layout from a Rails developer point of view, on what is there, what is not [...]

{ 98 comments }

The magic of metaclasses in Python

by shabda on November 21, 2009

Metaclasses are a way for you to have a class act as the template for another class. They are simlar to a classfactory, in that they create new classes. In words of Tim Peters Metaclasses are deeper magic than 99% of people are going to need.

However, in right hands they can be a potent tool, in [...]

{ 26 comments }

Pycon India 2009 : A Review

by lakshman on October 2, 2009

Pycon India concluded last weekend at Indian Institute of Science, Bangalore.

There have been so many python/django conferences recently, I have been tracking them literally all through the year. Another one, SciPy India just got announced. Week long, with sprints!

Pycon India was attended by around 350 people and had 30 talks. I have attended many conferences, [...]

{ 0 comments }

Thanks to awesome django community, there is plenty of open source django code around.

These packages get updated quite often and if you use it often like we do, you’d have possibly realized the need to manage these packages better.

Thankfully, all python ever needs is the source, and all you need to do is to place [...]

{ 5 comments }

Twitter’s robust REST API enables building of good applications that leverage its increasingly large and real-time data.

Google’s cloud system App Engine not only provides a scalable platform for deploying applications, but also proves to be economically viable because of its pay per resource usage model and a large free quota.

Little wonder then, there are increasingly [...]

{ 26 comments }

Uswaretech whitepapers

by Rama Vadakattu on March 11, 2009

We have released some whitepapers recently, which you can get from our whitepapers subsection

Django and J2EE Challenges and solutions in Offshore software development Usware Technologies Value Proposition

We are going to be publishing some more whitepapers very soon, so download the whitepapers and bookmark this page.

{ 0 comments }