About methods in managers and models are described rather well in:
https://docs.djangoproject.com/en/1.3/topics/db/managers/#adding-extra-manager-methods

Putting Admin class inside models is deprecated about 3 years ago. You
should read
https://docs.djangoproject.com/en/dev/intro/tutorial02/#writing-your-first-django-app-part-2to
see how admin is done in recent versions of Django.

-- 

Jani Tiainen

On Sat, Jul 23, 2011 at 7:59 PM, Eyad Al-Sibai <eyad.alsi...@gmail.com>wrote:

> I am a little bit confused... what functions should I write it in the
> Manager and what should be within the Model itself... Also what functions do
> you think should be written inside the class Admin within the Model?
>
>
> Regards,
> Eyad
>
> --
> 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