Re: Installing on Ubuntu Python 2.6- Install failure

2010-11-29 Thread Tim Bowden
On 29 November 2010 21:15, Karen Tracey wrote: > On Mon, Nov 29, 2010 at 6:56 AM, Tim Bowden wrote: >> >> When installing django from an official release tarball onto Ubuntu >> 10.04 python 2.6, (python setup.py install) it installs to >> /usr/local/lib/python2.6

Installing on Ubuntu Python 2.6- Install failure

2010-11-29 Thread Tim Bowden
updated or is this a bug in the packaging? Regards, Tim Bowden -- 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 unsubscribe from this group, send e

Re: Tutorial: __unicode__ not working in django 1.1

2009-10-05 Thread Tim Bowden
t did you get without the __unicode__ method? You may need to provide a little more info. See http://www.chiark.greenend.org.uk/~sgtatham/bugs.html (in particular the "It doesn't work" section). Tim Bowden --~--~-~--~~~---~--~~ You received this message

Re: Windows compatible?

2009-09-23 Thread Tim Bowden
On Wed, 2009-09-23 at 20:32 -0700, Tim wrote: > Is there a Windows version of Django? See the install docs: http://docs.djangoproject.com/en/dev/topics/install/ HTH Tim Bowden --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Prefix primary key

2009-09-22 Thread Tim Bowden
e model and runing syncdb, log into the database and do: SELECT setval('my_pk_seq', 2009001); where 'my_pk_seq' is the name of the sequence for the primary key of the table in question. HTH, Tim Bowden --~--~-~--~~~---~--~~ You received this mes

admin app date format: locale dependent

2009-09-20 Thread Tim Bowden
I'm getting started with django (& python), and having a bit of a play with the admin app while doing the tutorial. So far all good, but how do I set the date field to be locale dependent, ie, display & accept dates using a format that makes sense for my locality, ie, DD/MM/YYYY?

Legacy db & 'serial' pk's

2009-09-15 Thread Tim Bowden
I'm new to Django, and trying to build a small app against a legacy database. A couple of the tables have primary keys of the form: pk_field integer default nextval('pf_field_id_seq'::regclass) I've used inspectdb to get a starting models.py, but how is this best handled in