Re: Get Users' Groups

2009-06-29 Thread Gil Sousa
Thanks :) And where can I see the whole Group Documentation? All the fields we have available (and their names), etc... On 25 Jun, 18:02, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Jun 25, 2:45 pm, Gil Sousa <gilso...@gmail.com> wrote: > > > Hi! > > >

Get Users' Groups

2009-06-25 Thread Gil Sousa
Hi! I searched on documentation but I didn't see anything related with managing users' groups, I want to do something like a "staff page" and for that I need to get a list of groups, I need to get the NAME of each group and I need to get the list of members of each group. How can I do this? I

Re: changing models vs update DB

2009-05-06 Thread Gil Sousa
Thanks, I'll try the django-evolution :) On 6 Maio, 16:44, Daniel Roseman <roseman.dan...@googlemail.com> wrote: > On May 6, 3:03 pm, Gil Sousa <gilso...@gmail.com> wrote: > > > Hi! > > > I already read that django doesn't do an update to the DB (tables >

changing models vs update DB

2009-05-06 Thread Gil Sousa
Hi! I already read that django doesn't do an update to the DB (tables structure) when we do the syncdb command, just create new tables if necessary..., but how do I know which tables were created and which ones should I do the manual update? Now I am only using my local server, but I am concern

Re: Auth permitions in templates

2009-04-15 Thread Gil Sousa
Thanks a lot :) It works now :) On 15 Abr, 13:58, Daniel Roseman <roseman.dan...@googlemail.com> wrote: > On Apr 15, 11:56 am, Gil Sousa <gilso...@gmail.com> wrote: > > > I am new with django, sorry about this kind of questions. > > > I don't kno

Re: Auth permitions in templates

2009-04-15 Thread Gil Sousa
I am new with django, sorry about this kind of questions. I don't know how to pass the 'user' variable into the template, how can I do that? Thanks for your help! On 15 Abr, 11:39, Daniel Roseman <roseman.dan...@googlemail.com> wrote: > On Apr 15, 9:32 am, Gil Sousa <gilso...@gmai

Auth permitions in templates

2009-04-15 Thread Gil Sousa
Hi! I have one menu that I use as a "base" template, this menu has some entries which some of them should be restricted to logged users, but even when I loggin I cannot see those entries. This is my menu.html: http://www.w3.org/1999/xhtml;> {% block title %}{% endblock %}

Re: Using Static Files

2009-03-18 Thread Gil Sousa
I already found my mistake :) I had this: urlpatterns = patterns('lafora.forum.views', # Uncomment the admin/doc line below and add 'django.contrib.admindocs' # to INSTALLED_APPS to enable admin documentation: # (r'^admin/doc/', include('django.contrib.admindocs.urls')), #

Using Static Files

2009-03-18 Thread Gil Sousa
Hi! First of all, I already saw (and tried) this: http://docs.djangoproject.com/en/dev/howto/static-files/ I want to use static files on development mode, but this is starting to driving me mad, I am googling for almost 2 days and I didn't solve my problem yet. How can I use static files on