Django list_filter in Admin

2013-06-14 Thread francescobocca...@libero.it
Hi all, i would like to add in my admin page a custom filter that can allow me to select all user that doesn't belong to none groups. If i add : list_filter = ('groups') it show me a filter in the right part af admin interface: By group All group1 group2 i would like to add : All None (0) gr

R: Re: forms.FileField

2012-07-24 Thread francescobocca...@libero.it
Thanks, Francesco Messaggio originale Da: kmtra...@gmail.com Data: 24/07/2012 14.11 A: Ogg: Re: forms.FileField On Tue, Jul 24, 2012 at 8:05 AM, francescobocca...@libero.it wrote: Hi all, i have a question about Form. I create a template that use a forms.FileField (text) and

forms.FileField

2012-07-24 Thread francescobocca...@libero.it
Hi all, i have a question about Form. I create a template that use a forms.FileField (text) and forms.FileField to upload a file. I fill a forms.FileField field and forms.FileField. I upload the file without errors but when the page is reaload only forms.FileField is filled with last text while

R: get() returned more than one ....

2012-07-17 Thread francescobocca...@libero.it
Hi, i solved : i have to use userpathfile = FileStore.objects.filter(username=user) instead userpathfile = FileStore.objects.get(username=user) Thanks Francesco >Messaggio originale >Da: francescobocca...@libero.it >Data: 17/07/2012 14.49 >A: >Ogg: get() returne

get() returned more than one ....

2012-07-17 Thread francescobocca...@libero.it
Hi all, i have a question. In my Django views i used: def getpath(request,user="test"): userpathfile = FileStore.objects.get(username=user) return userpathfile my table FileStore contain 3 fields: id,username,path I would like get all data from a user register (in my example "te

Develop a Facebook app with Django

2012-06-07 Thread francescobocca...@libero.it
Hi all, i read some documentation on the web about Django and Facebook but i didn't found a right way to develop my Facebook application with Djando. Can you suggest how can start it? Thanks Francesco -- You received this message because you are subscribed to the Google Groups "Django users" g

R: Re: R: Re: Django-registration tutorial + code

2012-05-16 Thread francescobocca...@libero.it
t;Step4:- Note your login,logout files inside 'registration' folder >should posses following names respectively >('login.html','logged_out.html') >Step5:- Now you can design your login/logout templates as you like, >the above settings is enough to sort out t

R: Re: Django-registration tutorial + code

2012-05-16 Thread francescobocca...@libero.it
it? Thanks Francesco Messaggio originale Da: scoobygalle...@gmail.com Data: 16/05/2012 15.34 A: Cc: "francescobocca...@libero.it" Ogg: Re: Django-registration tutorial + code Hi! You can go this way: install the right version of django-registrationthis command will do th

R: Re: Django-registration tutorial + code

2012-05-16 Thread francescobocca...@libero.it
Thanks to all for answers, i'll try all solutions and i let you know.Thanks you again Francesco Messaggio originale Da: scoobygalle...@gmail.com Data: 16/05/2012 15.34 A: Cc: "francescobocca...@libero.it" Ogg: Re: Django-registration tutorial + code Hi! You

Django-registration tutorial + code

2012-05-16 Thread francescobocca...@libero.it
Hi all, i'n new of Django and i like to create an registration user form my web site (login, logout, profile user, password etc..) I read a lot of documentation but i didn't found a code that i can download with all right things (templates, urls etc). Anyone can help me to suggest any tutorial ab