Re: Issue in Django count string in a template

2015-02-12 Thread Bill Freeman
d inbox %} {% inbox_count as message >>> %} it returns all unread messages, but I need to get the unread messages >>> sent by a given user, in my case, a candidate to a job position. >>> >>> How can I do it? >>> Here is the thread: >>> http://stacko

Re: Issue in Django count string in a template

2015-02-12 Thread Ronaldo Bahia
ate to a job position. >> >> How can I do it? >> Here is the thread: >> >> http://stackoverflow.com/questions/28484620/issue-in-django-count-string-in-a-template >> >> Thanx, >> Ronaldo >> >> -- >> You received this message because you are

Re: Issue in Django count string in a template

2015-02-12 Thread Bill Freeman
need to get the unread messages sent by > a given user, in my case, a candidate to a job position. > > How can I do it? > Here is the thread: > > http://stackoverflow.com/questions/28484620/issue-in-django-count-string-in-a-template > > Thanx, > Ronaldo > > -- >

Issue in Django count string in a template

2015-02-12 Thread Ronaldo Bahia
by a given user, in my case, a candidate to a job position. How can I do it? Here is the thread: http://stackoverflow.com/questions/28484620/issue-in-django-count-string-in-a-template Thanx, Ronaldo -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: django count

2013-07-30 Thread Christian Erhardt
Hm... there is no relation to the user? So you are trying to group by name, surname and then count all individual courses? There is a high risk, that the user has a typo in his name or the courses name, than they would appear twice in the list. Is this your intention? I'd rather do it like

Re: Django count

2013-07-28 Thread Justin Michalicek
It looks like maybe a slight change to your models and schema would make this a bit cleaner if I'm understanding your overall schema correctly. I would split this up into two different models with a ManyToMany relationship in there. I am assuming you have students and then an Egitim instance

django count

2013-07-28 Thread Murat Bilal
Hi all, I have a model like this, class Egitim(models.Model): name = models.CharField(max_length=200) surname = models.CharField(max_length=20) email = models.EmailField(max_length=75) course_name = models.CharField(max_length=300) num_of_courses_taken =

Django count

2013-07-28 Thread Murat Bilal
Hi all, I have a model like this class Egitim(models.Model): name = models.CharField(max_length=200) surname = models.CharField(max_length=20) email = models.EmailField(max_length=75) course_name = models.CharField(max_length=300) num_of_courses_taken =