thanks  kenneth ...but will it count those entries also which I will enter
in the database after using filter() and count()?

On Tue, Jul 3, 2012 at 4:06 AM, kenneth gonsalves <law...@thenilgiris.com>wrote:

> On Tue, 2012-07-03 at 01:08 -0700, Bharati Sharma wrote:
> > actually I am making project of faculty management system of my
> > college.I
> > have added some of the faculty member's resume in the database. i want
> > a
> > counter in my project that should increment its value whenever a new
> > faculty member's resume is added into the database. yes, it will
> > require
> > filter also as i want it should count no of assistant professors,no of
> > associate professors etc seperately....help me please..
>
> you are storing redundant data in the database - not good. If you want
> the number of assistant professors, use filter() and count().
> --
> regards
> Kenneth Gonsalves
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to