Re: Admin interface question

2009-03-30 Thread Phil Edwards
Phil Edwards wrote: > Hi All: > > First off, apologies if this message ends up appearing twice - I had a > minor problem getting Google to recognise that I'd subscribed... > Somehow, I just *knew* that was going to happen... :-) -- Regards Phil Edwards | PGP/GnuPG

Admin interface question

2009-03-30 Thread Phil Edwards
displayed above it. Is there any way to get rid of this? The 'polls' application in the tutorial doesn't have object names displaying like this, but I can't see what I'm doing differently. Just in case my explanation isn't clear, I've put a partial screen shot

Re: First Django project - Admin question

2009-03-30 Thread Phil Edwards
class. That sort of works - it gets rid of the text, but the space on the page that it used to occupy is still there. I've got a better clue where to look now, which is good. Thanks for your help. -- Regards Phil Edwards | PGP/GnuPG Key Id Brighton, UK | 0x68393AEE --~--~

Re: .py!

2009-04-17 Thread Phil Edwards
Ionut G. Stan wrote: > I guess you're coding in Notepad, in which case I'd recommend to look > for another editor. Yup - my favourite for code editing on Windows is PSPad. Free download from here: http://www.pspad.com/en/ Compatible with XP, Vista and Windows7 -- Regar

Lookup column value in external dictionary

2009-11-02 Thread Phil Edwards
f putting these ratings into their own table, although this seems a bit of a waste for a short list of data points that will never change. Any help or advice greatly appreciated. -- Regards Phil Edwards | PGP/GnuPG Key Id Brighton, UK | 0xDEF32500 --~--~-~--~~~---

Re: Lookup column value in external dictionary

2009-11-02 Thread Phil Edwards
Phil Edwards wrote: > > This all works as expected. The final step that I'm not able to figure > out is what to put in either the view or the template so that I can do a > lookup of the 'package.rating' value (which will be 1, 2, 3 or 4) > against the 'ra

Multiple URLs, Common View

2010-07-18 Thread Phil Edwards
and 'django multiple url single view' but I can't find anything useful. I think that at this level, my setup probably doesn;t matter, but if it does I'm using Django 1.2 on both Windows XP and Linux, with Python 2.7 and 2.6 respectively, depending upon which machine I have my US

Re: Multiple URLs, Common View

2010-07-18 Thread Phil Edwards
On 18/07/2010 23:55, Phil Edwards wrote: -begin- def servePage(request): if request.path[1:] == '': thisPage = Page.objects.get(name = unicode('home')) else: thisPage = Page.objects.get(name = unicode(request.path[1:])) sidebar_list = Page.objects.filter(category

Re: Multiple URLs, Common View

2010-07-22 Thread Phil Edwards
as exactly what I wanted. Thanks again folks! -- Regards Phil Edwards | PGP/GnuPG Key Id Brighton, UK | 0xDEF32500 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To u