Use groups maybe this can help http://stackoverflow.com/questions/8392780/django-admin-group-permissions-to-edit-or-view-models
2013/5/28 Mário Neto <macndes...@gmail.com> > Do you can this in your template > > > 2013/5/28 Victor <vdem...@gmail.com> > >> As a newbye I'm happily using admin. >> >> Now I would like to select what a user can see in the admin main page >> according to its username just as a (non-working) example I would like to >> follow this idea >> >> in admin.py >> >> if request.user=='victor': >> admin.site.register(Categorie) >> admin.site.register(Codiciiva) >> admin.site.register(Magazzini) >> else: >> admin.site.register(Marca) >> admin.site.register(Fornitori,FornitoriOption) >> admin.site.register(Pazienti,PazientiOption) >> admin.site.register(unita_misura) >> >> How can I do this? >> >> Ciao >> Vittorio >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To post to this group, send email to django-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/django-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > -- > Att. *Mário Araújo Chaves Neto* > *Programmer, Designer and U.I. Engineer* > * > * > *MBA in Design Digital* - 2008 - FIC > *Analysis and Systems Development* - 2011 - Estácio > *D**esign and Implementation of Internet Environments* - 2003 - FIC > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.