On Saturday 10 October 2009 00:55:02 The Danny Bos wrote:
> Good point.
> Here's the models I'm talking about as they're slightly different than
> your aforementioned solution.
>
> class Collection(models.Model):
> title = models.CharField(max_length=50, unique=True, help_text="eg:
> Pokemon
Good point.
Here's the models I'm talking about as they're slightly different than
your aforementioned solution.
class Collection(models.Model):
title = models.CharField(max_length=50, unique=True, help_text="eg:
Pokemon, Kiss, Baseball ...")
slug = models.SlugField(max_length=50
> I'm looping through an array of 'trading card' titles. For instance:
>
> - Pokemon
> - Kiss
> - Baseball
>
> Instead of showing just the title of the 'trading card', I'd like to
> display an image of each instead.
> But not all images are available for every card in a title, for
> instance
I had a feeling this was a pain in the ass.
I might try and work out another way around it, maybe a default image
for each 'trading card' set?
d
On Oct 9, 9:54 pm, The Danny Bos wrote:
> Hey there,
>
> I'm looping through an array of 'trading card' titles. For instance:
>
> - Pokemon
> -
Hey there,
I'm looping through an array of 'trading card' titles. For instance:
- Pokemon
- Kiss
- Baseball
Instead of showing just the title of the 'trading card', I'd like to
display an image of each instead.
But not all images are available for every card in a title, for
instance 'Pokemon
5 matches
Mail list logo