We are a small, intelligent App development studio. We love "Building Amazing Apps", solving problems and cultivating strong relationships with our clients.
How to build a Facebook app in Django
By : Shabda Raaj
Facebook has a simple and robust API which allows users to build applications for the Facebook platform. We being the intelligent developers will use the superb Django framework to build our application.
The completed code for this is available at https://svn.uswaretech.com/favlang/. The completed application is deployed to facebook here.
How does a Facebook application work?
- The users make a request to apps.facebook.com/yourapp/page1/
- The Facebook servers make a request to yourserver.com/page1/
- You get the requests and can make calls to Facebook API, and use FQL to query the Facebook tables.
- You ...
How we built a Twitter Application
By : lakshman
Twitter, just like many other Web2.0 sites, has an excellent API. So much so, writing a twitter app is considered to be "Hello World" of Web2.0 Programming.
I wrote an application recently. It is DM++. By default, this application allows you to receive direct messages from twitter users you have @replied even if you currently don't follow them. You can even configure application to be able to receive direct messages from people you have @replied in only last 2 days, or receive Dm from all other twitter users.
Look how many people are currently complaining Cant DM ...
more info..Understanding DateTime, tzinfo, timedelta & TimeZone Conversions in python
By : rama
In this post we will look at the common operations that are being performed on dates & time , converting a datetime from one timzone to another timezone.
Common Operations: How to get the present datetime?
In [189]: cdatetime = datetime.now() It returns the current localdate and time.When i print cdatetime it printed as a tuple of nine elements
In [190]: cdatetime
Out[190]: datetime.datetime(2009, 2, 17, 17, 34, 58, 407806)
(2009=year, 2=month, 17=day, 17=hour, 34=minutes, 58=seconds, 407806=microseconds, tzinfo is None and is not printed)
what each element in tuple represents ...
Django popular stories Widget
By : rama
At uswaretech we strive hard to keep track of the latest happenings in Django.To assist in this we have created a Django popular stories widget which lists down the popular stories in django.We are writing about it as we wanted to share this widget to the django community to who, it may be helpful.Please have look at the widget which is appearing at the bottom of this post.And also the source code of this widget is available to everyone who want to use in their own applications.More details at the bottom of this post.
How ...
more info..- Common testing scenarios for Django app.
- Logging in Django
- Serving static files in Django
- Two Scoops of Django: Review
- Introduction to Python Workshop on February 15th, 2013
- Easy client side form validations for Django: Django Parsley
- MoreApps - Android Library Project: Open Sourced
- Tutorial: Building a Chrome app
- Password Generator App: Open Sourced
- Todo List App: Open Sourced
- April 2013
- March 2013
- February 2013
- January 2013
- November 2012
- October 2012
- September 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- October 2011
- September 2011
- July 2011
- June 2011
- April 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- June 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- November 2008
- October 2008
- June 2008
- May 2008
- April 2008
Automatically backup mysql database to Amazon S3 using django (Python) script
By : rama
Many of us use Amazon S3 to backup their mysql databases.As we do it so often we thought of writing an automated script which does this task of taking the backup of a mysql database and then moving it to the Amazon S3 . Below is the django script .
1: def upload_db_to_Amazons3():3:4: AWS_ACCESS_KEY_ID = settings.AWS_ACCESS_KEY_ID5: AWS_SECRET_ACCESS_KEY = settings.AWS_SECRET_ACCESS_KEY6: BUCKET_NAME = settings.BUCKET_NAME7: MYSQL_DUMP_PATH = settings.MYSQL_DUMP_PATH8: DATABASE_NAME = settings.DATABASE_NAME9: ARCHIVE_NAME = settings.ARCHIVE_NAME10: .....11: