Category: Django
Class based views are very cool. I am starting to clean up an existing project using them, and lots of existing views are turning into declarative code. But it makes me worried about the ravioli effect.
Today I learned that JSON is much faster than YAML for use in Django fixtures...
Participating in any Open Source project can be frustrating if things do not move along as quickly as you would like. Django is a fairly popular project, whose developers are volunteers with limited resources, and with a pretty big commitment to stability and backwards compatibility, so there will always be people who get frustrated. This blog post is intended to help people in that situation be helpful, and to not actually make things worse.
How I set up Eclipse to work with an existing project using virtualenv
Based on my recent Haskell experience, I highlight some cases where I think static type checks provide a better testing mechanism than unit tests or other automated tests.
A review of "Django 1.0 Template Development" by Scott Newman, from Packt Publishing.
An article from Django 1.0 Template Development by Scott Newman, about how to output a document in multiple formats/styles using Django templates.
Beginnings of a Django-inspired Haskell web framework, Ella.
A simple way to use Mercurial Queues in a Subversion working directory to manage patches before committing to Subversion.
After reading that in Python 2.5 some big memory leaks are fixed, I just switched a Django site from Python 2.4 to Python 2.5. I wasn't disappointed -- the combined memory usage of my Apache processes (which are using mod_python) went from 100Mb to 60Mb. So, for anyone else wanted to conserve memory, this is the first thing I'd suggest!
None
I created a system and web app to help me organise my Bible memorisation. And I rant a bit Django and web.py.
How to use Twill within Django unit tests
I present below some example code for using Django, newforms and MochiKit to do AJAX validation, in case anyone else is doing the same, complete with a live demo...
I've updated my validator app to work with 'unicodised' Django...
I've updated my validator app to latest Django trunk and finally done a release.
An attempt to debunk some of the '20 minute web app' hype that is so prevalent at the moment, and present a more realistic and balanced account of the Django site I have just finished.
Saw this gem by 'anonymous' on django-updates...
I've noticed in Python and in Django I almost always create a module or a template by starting with a completely empty file, and typing...
Using pychecker and pylint on Django -- and each other...