Django – Use ModelForm to List and Create User Data

Django User List

Django User List

Here is a very basic example to show you how to use ModelForm in Django to list and create user data. Let’s start from creating Django app and MySQL Database.
Continue reading

Advertisements

Dart or Not Dart? This is the question that’s still too early to tell.

I do hope that we can have a new, strict, well-structured, and well-perform program language which can completely replace JavaScript, and this is why I still put some hope on Dart.

JavaScript is a language which has pretty long history, it has good parts, but also many bad parts. Many JavaScript experts try to teach people how to write JavaScript in a good pattern; unfortunately, there are still many people doesn’t really understand those good patterns.
Continue reading

Python & Twitter OAuth

I always need to rethink again whenever I need to deal with Twitter OAuth, which annoys me a lot. Therefore I decided to put it in here as a simple article, so I can easily find the information I need in the future.

Before testing Twitter OAuth, you will need to create your application in here. If you have any question about creating Twitter application, please follow this good article How to register a Twitter APP in 8 easy steps to create the app step by step.
Continue reading