Re: How to change python version in ubuntu???

2009-01-27 Thread shaleh
On Tue Jan 27 12:12 , DragonSlayre sent: > >Thanks Waylan - http://achinghead.com/archive/83/installing-multiple-versions-python/ >is just what I needed. > >Thanks Shaleh, > >I appreciate the detailed explanation :) >Yes - the shell is something that I have to get mo

Re: How to change python version in ubuntu???

2009-01-27 Thread shaleh
> >On Mon Jan 26 17:51 , DragonSlayre sent: > >> >> >> >>On Jan 27, 1:41 pm, sha...@speakeasy.net> wrote: >> >>> Does this help? Found via google and ubuntu >forums.https://launchpad.net/~doko/+archive >>> >>> Sorry, I run Debian (which ubuntu is based on), I just apt-get install all >>> of the

Re: How to change python version in ubuntu???

2009-01-27 Thread shaleh
On Mon Jan 26 17:51 , DragonSlayre sent: > > > >On Jan 27, 1:41 pm, sha...@speakeasy.net> wrote: > >> Does this help? Found via google and ubuntu forums.https://launchpad.net/~doko/+archive >> >> Sorry, I run Debian (which ubuntu is based on), I just apt-get install all >> of the >> available

Re: How to change python version in ubuntu???

2009-01-26 Thread shaleh
On Mon Jan 26 16:28 , DragonSlayre sent: > >Ok, well I reinstalled ubuntu. > >It'd still be good to know how to change python versions easily, if >anybody knows how to do this - it seems like it's not documented >anywhere :( Does this help? Found via google and ubuntu forums. https://launchpad

Re: readable object

2007-12-12 Thread shaleh
>On Wed Dec 12 11:13 , Milan Andric <[EMAIL PROTECTED]> wrote: > Is there an easy way to print an object in html? Basically with display > names and manytomany relationships resolved. (just for viewing) > I was thinking to write something like model_to_dict(obj) that resolves a > bunch of stu

Re: Database

2007-12-12 Thread shaleh
>On Tue Dec 11 17:57 , Goldy <[EMAIL PROTECTED]> wrote: > My Django database was created using sqlite3 and therefore produced a file > called mydb.py. I was wondering if this file could be connected to and > examined interactively by sqlite3 as if i had inserted the tables myself? a very easy w

Re: Model.validate() bug???

2007-11-28 Thread shaleh
> (now strongly in "thread should be on django-devel" territory) > > I changed validate_full() to this: >if not self.blank and (field_data is None or field_data == ''): > return [_('This field is required.')] > > and IntegerField was now properly validated. However IntegerFie

Re: Model.validate() bug???

2007-11-28 Thread shaleh
> -Original Message- > From: wiswaud [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 28, 2007 08:44 PM > To: 'Django users' > Subject: Re: Model.validate() bug??? > > > Hi! > > On Nov 28, 3:22 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > > On 11/28/07, wiswaud <[EMAIL PROTECTE

Re: Middleware Old-Style Classes

2005-10-17 Thread Shaleh
Why is that? Moving forward the Python people expect all classes to be defined as "new-style". Support for old-style is there simply to allow for backwards compatibility.