Re: example for project with user login

2013-09-27 Thread Joachim Wuttke
Many thanks, Rafael and Jesús. I will study your suggestions carefully. - Joachim -- 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...@googl

Re: example for project with user login

2013-09-27 Thread Jesús Lucas Flores
You can watch my code: https://github.com/jelukas/django-usuarios-framework/ I am using django-registration with templates. And django 1.4 .. i have to update the code to django 1.5 but it is the same idea.

Re: example for project with user login

2013-09-27 Thread Rafael E. Ferrero
in settings.py in TEMPLATE_DIRS put all your templates folders where django go to find them in MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.au

Re: example for project with user login

2013-09-27 Thread Joachim Wuttke
With user login to the user views. I would like to build my application by incrementally modifying a working small application that is just a little more complete than the poll application from the basic tutorial. -- You received this message because you are subscribed to the Google Groups "Dj

Re: example for project with user login

2013-09-27 Thread Rafael E. Ferrero
Please, can you be more specific? Did you mean on Admin Interface? (just activate admin) In your views? (use decorator) in your templates? (use request.user.is_authenticated() on a if block) Are more complex ways to do this by your own or you have apps to do this like allauth (who give you a way t

example for project with user login

2013-09-27 Thread Joachim Wuttke
Could you kindly point me to a code example for a Django project with user login? - Joachim -- 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+unsubsc