Re: How can I send a password recovery e-mail to a Customer/User in Django?

2016-09-27 Thread João Rodrigues
Thanks a lot. I solved it. :) I got some more information in this page: http://www.programcreek.com/python/example/61528/django.contrib.auth.forms.PasswordResetForm -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: How to populate a JqGrid in Django with data obtained from a query (queryset)

2016-09-27 Thread João Rodrigues
Thanks for your answer. The project is rather big and I am still not used to Django. I got some help and it has been solved. -- 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

How to populate a JqGrid in Django with data obtained from a query (queryset)

2016-09-25 Thread João Rodrigues
I am working on a small online shop with Django 1.9 and JqGrid Here is a simplification of my models: class Addresses(models.Model): address = models.TextField(db_column='ADDRESS', max_length=2000) city = models.CharField(db_column='CITY', max_length=400, blank=True, null=Tru

How can I send a password recovery e-mail to a Customer/User in Django?

2016-09-25 Thread João Rodrigues
I am working on a small online shop with Django 1.9 and I have a Customers page. Note: This is the back-end site. Only for me...

Re: IDE for Python/django

2010-09-27 Thread João Rodrigues
http://code.google.com/p/trespams-vim/ On 27 September 2010 14:00, girish shabadimath wrote: > actually i use vim for writing python scripts , i wanted IDE to easy my > tasks of writing script (like auto-completion) ,,,i dont want GUI based,,i > prefer  editor like vim which supports python scrip

django-treebeard: one tree per user?

2010-09-27 Thread João Rodrigues
Is it possible to have a tree for each user? I was trying something like this # - models.py -- # from django.db import Models from django.contrib.auth.models import User from treebeard.mp_tree import MP_Node class MyTree(MP_Node): user = models.ForeignKey(User) desc = models.CharF

Re: How to display the user profile in the admin interface?

2010-09-03 Thread João Rodrigues
) On 30 August 2010 17:14, João Rodrigues wrote: > Thanks, I did run syncdb and added myapp to the INSTALLED_APPS. > "Company" appears in the admin interface under myapp. > > But what I wanted to do is to show the UserProfile fields in the > Add/Change user page. > >

Re: How to display the user profile in the admin interface?

2010-08-30 Thread João Rodrigues
8 PM, Sithembewena Lloyd Dube > wrote: >> >> Hi João, >> >> Add myapp.UserProfile to the INSTALLED_APPS global variable of your >> settings.py file, and in your admin.py file, import the model/s. >> >> On Mon, Aug 30, 2010 at 5:04 PM, João Rodrigues >&g

How to display the user profile in the admin interface?

2010-08-30 Thread João Rodrigues
I have a company model class Company(models.Model): name = models.CharField(max_length=50) address = models.TextField() phone = models.CharField(max_length=15) fax = models.CharField(max_length=15) and I wanted to associate each user to a company, so I read http://docs.djangoproje

Re: how to turn off CSRF in django 1.2?

2010-08-26 Thread João Rodrigues
7;s a project > done in 1.0.2. and I want it to run on my django 1.2 but without any > reference to Csrf, since the server where the portal is runs 1.0.2 > yet. > > On 26 Aug, 15:54, João Rodrigues wrote: > > go to your settings.py and comment out > > django.middl

Re: how to turn off CSRF in django 1.2?

2010-08-26 Thread João Rodrigues
go to your settings.py and comment out django.middleware.csrf.CsrfViewMiddleware in your MIDDLEWARE_CLASSES On 26 August 2010 10:33, Alan wrote: > Hi there, > > I developed in a system that uses django 1.2, but the server is still > django 1.0.2. > > Upgrading for a moment is not possible. Unles

How to Create a TextField and read data from it

2008-05-09 Thread João Rodrigues
that's not too much, for you to point me to a readable solution (I read the new forms tutorial and to be honest, I got confused :\ ) or examples. Thanks in advance -- João Rodrigues --~--~-~--~~~---~--~~ You received this message because you are subscribed to t