For one off scripts for a particular project:
#!/usr/bin/env python
from django.core.management import setup_environ
from myapp import settings
setup_environ(settings)
# do some stuff
Just a quick note alerting everyone to the fact that jQuery has gotten EVEN EASIER AND FASTER.
Go check out the release notes.
08 Feb
by: Matt in Development, Django, Infrastructure, PHP, Python, Ruby, Ruby on Rails
tags: deployment, Django, mod_wsgi, mongrel, passenger, php, phusion passenger, Python, rails, ruby, subversion
I finally got around to setting up a more sophisticated deployment system for some of my apps. These apps include some built on a custom PHP framework and others that are Python / Django apps. I figured I’d share my experience…
Why is a high-level deployment infrastructure important? Deployment is something that should [...]
Many (awesome) changes http://blog.jquery.com/2010/01/14/jquery-14-released/.
View the release notes here: http://jquery14.com/day-01/jquery-14
30 Nov
by: Matt in Book Reviews, CSS, Clojure, Development, Django, Infrastructure, JavaScript, PHP, Python, Ruby, Ruby on Rails
tags: book review, clojure, Development, Django, php, programmer, Python, rails, ruby, Ruby on Rails
Send this to your significant other/parent/relative/friend so, instead of that sweater, you get one of these nuggets of awesome this Christmas.
The Pragmatic Programmer: From Journeyman to Master
Write better, cleaner, more maintainable code. Learn how to manage your projects and focus on shipping your product. With insight that covers the gamut of software development [...]
15 Nov
by: Matt in Development, Django, Infrastructure, Python
tags: centos, Django, linux, mod_wsgi, mysql, mysql-python, mysqldb, Python, setuptools
This is an update to my previous how-to Setup Python 2.5, mod_wsgi, and Django 1.0 on CentOS 5 (cPanel).
The biggest reason why I chose to go with Python 2.5 at the time was because the MySQL Python (MySQLdb) package didn’t support Python 2.6. The 1.2.3c1 release does so that roadblock is lifted.
The instructions are [...]
Read my previous two posts on Django and Python – Part I and Part II
I’ve been working on a project management tool suite in Django. It’s been a great side project to really experiment with Django in real-world scenarios.
Forms
At times I feel like I fight with newforms. In particular, it lacks the ability [...]
The Django project just announced that v1.1 is ready! Go here for the full release notes.
Some notable changes include support for aggregate functions from within the ORM. This includes COUNT(), MAX(), MIN(), etc.
Also, the concept of “unmanaged” models which allow you to easily support tables that pre-existed or were created by some other [...]
28 Jul
by: Matt in Development, Django, Python
DISCLOSURE: I was sent this sample chapter by the publisher. I’m sure some of you folks will find it useful so I’m posting it. For a review of the book go here.
Download Sample Chapter 6 “Serving Multiple Templates”
01 Jun
by: Matt in Development, Django, PHP, Python, Ruby, Ruby on Rails
I like Python. I like Ruby. I like C, C++, and Objective-C. I like Java. I also (actually) like PHP. I like programming – get it? Use whatever gets the job done and done well. Use whatever achieves the performance and scalability you require for a given task. [...]
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.