Re: django-filters many to many

2021-02-14 Thread Agni Venus
Put this inside and below if your model Def __str__(self): return self.what-ever-name-you-want On Mon, 15 Feb, 2021, 10:01 am Agni Venus, wrote: > Put this below the model... > Add > Def __str__(self): > return self.what-ever-name-you-want > > On Mon, 15 Feb, 2021, 1

Re: django-filters many to many

2021-02-14 Thread Agni Venus
Put this below the model... Add Def __str__(self): return self.what-ever-name-you-want On Mon, 15 Feb, 2021, 10:00 am Agni Venus, wrote: > Add > Def __str__(self): > return self.what-ever-name-you-want > > On Sun, 14 Feb, 2021, 9:00 pm sebasti...@gmail.com, < > sebastian.j

Re: django-filters many to many

2021-02-14 Thread Agni Venus
Add Def __str__(self): return self.what-ever-name-you-want On Sun, 14 Feb, 2021, 9:00 pm sebasti...@gmail.com, < sebastian.ju...@gmail.com> wrote: > Hello, > > i have installed per pip django-filters. > > Models.py: > > class Productinterests(models.Model): > id =

i have aproblem with my code

2021-02-03 Thread Agni Venus
data donot save anything when i input it from the website page. my views.py code from django.shortcuts import render from django.core.files.storage import FileSystemStorage from .models import profile def home(request): up=profile.objects.all() return render(request, 'home.html' ,{ 'up':up })