On Aug 9, 10:37 pm, James Stroud <[EMAIL PROTECTED]> wrote:
> Dan Bishop wrote:
> >> Tabs are for tables, hence the name. "Use spaces for space and use tabs
> >> for tables" can be a little mnemonic to help you remember the rules. We
> >> can make a little song together if you can think of some thi
James Stroud <[EMAIL PROTECTED]> writes:
> When you want to screw your whitespace--don't!
> Take this little pledge and I know you won't:
James, you're a poet
And you don't even realise
--
\ "[...] a Microsoft Certified System Engineer is to information |
`\ technology as a McDonald
Dan Bishop wrote:
>> Tabs are for tables, hence the name. "Use spaces for space and use tabs
>> for tables" can be a little mnemonic to help you remember the rules. We
>> can make a little song together if you can think of some things that
>> rhyme with "don't" and "use" and "tabs".
>
> "won't"
>
On Aug 9, 8:28 pm, James Stroud <[EMAIL PROTECTED]> wrote:
> eggie5 wrote:
> > But this still isn't valid:
>
> > from django.db import models
>
> > class Poll(models.Model):
> >question = models.CharField(max_length=200)
> >pub_date = models.DateTimeField('date published')
>
> > def __u
On Aug 9, 6:31 pm, James Stroud <[EMAIL PROTECTED]> wrote:
> James Stroud wrote:
> > def __unicode__(self):
That's so goofy.
> > return self.choice
>
> Laughing to hard at the tab & spaces thing to notice the lack of
> indentation here.
>
> James
>
> --
> James Stroud
> UCLA-DOE Inst
James Stroud wrote:
> def __unicode__(self):
> return self.choice
Laughing to hard at the tab & spaces thing to notice the lack of
indentation here.
James
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
--
ht
eggie5 wrote:
> But this still isn't valid:
>
> from django.db import models
>
> class Poll(models.Model):
> question = models.CharField(max_length=200)
> pub_date = models.DateTimeField('date published')
>
> def __unicode__(self):
> return self.question
>
>
>
>
But this still isn't valid:
from django.db import models
class Poll(models.Model):
question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
def __unicode__(self):
return self.question
class Choice(models.Model):
poll
On Aug 9, 7:02 pm, eggie5 <[EMAIL PROTECTED]> wrote:
> On Aug 9, 4:52 pm, Dan Bishop <[EMAIL PROTECTED]> wrote:
>
> > On Aug 9, 6:47 pm, eggie5 <[EMAIL PROTECTED]> wrote:
>
> > > I keep getting an error for line 7, what's wrong with this?
>
> > > from django.db import models
>
> > > class Poll(mode
On Aug 9, 4:52 pm, Dan Bishop <[EMAIL PROTECTED]> wrote:
> On Aug 9, 6:47 pm, eggie5 <[EMAIL PROTECTED]> wrote:
>
> > I keep getting an error for line 7, what's wrong with this?
>
> > from django.db import models
>
> > class Poll(models.Model):
> > question = models.CharField(max_length=200)
>
On Aug 9, 6:47 pm, eggie5 <[EMAIL PROTECTED]> wrote:
> I keep getting an error for line 7, what's wrong with this?
>
> from django.db import models
>
> class Poll(models.Model):
> question = models.CharField(max_length=200)
> pub_date = models.DateTimeField('date published')
>
> def
11 matches
Mail list logo