Aug 26th, 2009
by Flipflops.
This is probably a bit obvious to any experienced Django user, but it took me a bit of digging to find.
In Django when you create a model to use the automatic admin interface you have to add it to the admin.py file.
Here is an example which only includes a ‘news’ model:
1
2
3
4
5
6
7
8
from s2.portfolio.models import News
from django.contrib [...]
Aug 19th, 2009
by Flipflops.
To promote my free business listings directory, www.blinks.org.uk I have decided to give away a prize of a signed limited edition print of ‘Minibet’ (2005)
The 1000th business to register on the site will receive a copy, so register now.
Aug 19th, 2009
by Flipflops.
A bit of a taster really, a post about the things that I intend to write – well that’s one way of getting me to ensure that I do write them.
NestedListHelper
I’ve written a helper to generate nested UL’s from the results of a find(‘threaded’) call. I’ve been using the helper to generate the nested lists [...]
Aug 4th, 2009
by Flipflops.
I’ve just come across and started using a brilliant new free UK postcode lookup (so far it has provided me with the Latitude & Longitude of every postcode I’ve thrown at it), it’s fast, free and easy to use and can return the Latitude & Longitude as either CSV or JSON – whatever takes your [...]