Posts for Python

Testing your first Django app

This is my unofficial part five for the Django tutorial, I've attempted to write in a similar style and hopefully will be a useful starting place for those starting with Django (or just testing Django)

Nicer dynamic forms in django

I used to make dynamic forms for Django in very bad way, I'm happy to admit that now as I've improved my process. Discussion and examples of how I recommend you tackle dynamic forms.

Django, it's just Python.

'Django; It's just python' A statement I've heard a few Django people use. I happen to think its quite relevant and important to remember. Django is stupidly easy to get started with, you feel empowered when you make your first website and its amazing but at this point you wouldn't claim to being a python coder would you?

Itchy Fingers

Last night after I got home from techmeetup I had itchy fingers, the domain transfer had finally came through so I flipped the switch. My new website and sitesprint effort is now officially launched!

Nested Code Blocks

Nested if statements in functions or loops in python and how they should be formatted.

What apps do I use?

A quick dump of the pip requirements.txt for this website - inspired by a number of people asking what external apps I was going to use and what I was going to build myself.

EuroPython + Update

So it seems this is now yet another blog isn't updated. Actually, I've only posted once this year to mention that I was going to <a href="http://euro.djangocon.org/" target="_blank">EuroDjangoCon</a>.

EuroDjangoCon

Just a quick note to say I just registered to go to EuroDjangoCon! Head over to <a href="http://euro.djangocon.org/">http://euro.djangocon.org/</a> to sign up for the earlybird prices!

I can't wait

Filter the Django ModelAdmin set

I was playing around today and thought it would be quite cool to modify/filter the query for the ModelAdmin class. Aiming to create helper functionality rather than a security feature. After all djang

Getting Django up and running on Centos 5.2 with Apache(mod_python) and MySQL

This is partly for my reference (doing it the second time just now and I forgot everything!) but hopefully it will be helpful for others too.

<em>Disclaimer; I am by no means a Linux expert. This i

Python - Some syntactic sugar

I've been playing with Python for a while now and basically I love it. This post is going to be a very quick overview of some of Pythons features that might be new or a bit odd to a developer from a d