i see that there exists a handy way -- *icontains* does exactly what iam
looking at
On Sun, Aug 31, 2008 at 9:35 PM, Vadivel Kumar <[EMAIL PROTECTED]> wrote:
> Thanks Michael,
>
> I solved the problem - i had a silly mistake in the way how i handled to
> check the existing tag. But, now the pro
Thanks Michael,
I solved the problem - i had a silly mistake in the way how i handled to
check the existing tag. But, now the problem is when i check the given tag
text against the database, i do it as like below,
newTag = request.POST['tag']
existingTag = Tags.objects.filter(TagNa
On Aug 31, 11:14 am, "Vadivel Kumar" <[EMAIL PROTECTED]> wrote:
> I know this might sound very newbie .. its true
>
> How can i assign an exising record of the child table to an parent record.
> For example I have two models,
>
> class User (models.Model):
> ... all other fields ...
>
I know this might sound very newbie .. its true
How can i assign an exising record of the child table to an parent record.
For example I have two models,
class User (models.Model):
... all other fields ...
Tags = models.ManyToManyField(Tag)
class Tag (models.Mode):
4 matches
Mail list logo