I solved my stupid problem.
In detail.html only change articulo.categoria_set.all for
articulo.categoria.all
On 25 ago, 13:16, NeoOrion wrote:
> Hi,
>
> I have a problem to show ManyToMany Relationship in my Template.
>
> I have two models:
> class Categoria(models.Model):
> nombre = models.
Hi,
I have a problem to show ManyToMany Relationship in my Template.
I have two models:
class Categoria(models.Model):
nombre = models.CharField(max_length=200)
descripcion = models.TextField('Categoria del Articulo')
def __unicode__(self):
return self.nombre
class Articulo(m
2 matches
Mail list logo