filter-widgets

2008-10-09 Thread jorgehugoma
Hi, Is there a way to filter the data of a "one-to-one" field widget before it is rendered as HTML? thanks, Jorge Hugo Murillo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: running development server

2008-07-08 Thread jorgehugoma
Chris, Are you using the IP address of your network interface? Jorge Hugo Murillo - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: Django users Sent: Tuesday, July 8, 2008 2:37:02 PM Subject: Re:

Re: running development server

2008-07-08 Thread jorgehugoma
Chris, Are you using the IP address of your network interface? Jorge Hugo Murillo - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: Django users Sent: Tuesday, July 8, 2008 2:37:02 PM Subject: Re:

unable to open database file

2008-04-28 Thread jorgehugoma
hello all, I get a operational error when i try to access the sqlite3 database file. This doesn't happen with Django built in server only with apache. The file has 660 permission so i dont know why it cant be opened everything else works fine. OS is openSUSE 10.3. Regards, Jorge Hugo

Re: foreign key question

2008-04-04 Thread jorgehugoma
Yes, thanks a lot Jared. regards, Jorge Hugo Murillo - Original Message From: Jared Dobson <[EMAIL PROTECTED]> To: django-users@googlegroups.com Sent: Friday, April 4, 2008 11:05:39 AM Subject: Re: foreign key question Hello Jorge, Are you trying to do this? def

Re: foreign key question

2008-04-04 Thread jorgehugoma
It's a form that derives from the ModelForm class: Here's my model class: class CartuchoFallado(models.Model): serie = models.CharField(max_length = 15, primary_key = True) informe = models.ForeignKey(SolicitudCambio, verbose_name = 'Informe de Falla') cartucho =

Error adding an excluded field

2008-04-02 Thread jorgehugoma
here's my final working view function. I don't know if it was the best way to solve this problem but it was the best i could come up with. Any suggestions? And thanks for the assistance guys. def cartuchoFallado(request, numinfo): if request.method == 'POST': form =

Error adding an excluded field

2008-04-02 Thread jorgehugoma
here's my model class: class CartuchoFallado(models.Model): serie = models.CharField(max_length = 15, primary_key = True) informe = models.ForeignKey(CambioDeProducto, verbose_name = 'Informe de Falla') cartucho = models.ForeignKey(Cartucho, verbose_name = 'Cartucho') marca =

Re: Error adding an excluded field

2008-04-01 Thread jorgehugoma
heres my modelform class: class CartuchoFalladoFrm(ModelForm): class Meta: model = models.CartuchoFallado exclude = ('informe',)#My model has for fields serie, cartucho, marca, informe and here is my view function: def cartuchoFallado(request, numinfo): if

Re: Error adding an excluded field

2008-04-01 Thread jorgehugoma
Malcom, I looked at the ModelForm documentation and to be honest with you i don't understand how am i suppose to change or add a required value that i excluded. I should underscore that i am fairly new to django so please bare with me. I tried coping request.POST into a dictionary variable and

Error adding an excluded field

2008-04-01 Thread jorgehugoma
Hello, How do I add a field that is required by my database but excluded in my forms.py? I used ModelForm class to define my forms but in the meta class I excluded one of the required fields so i can add it later in my views.py. I tried adding the value using the save(commit = False) like

Error adding an excluded field

2008-04-01 Thread jorgehugoma
Hello, How do I add a field that is required by my database but excluded in my forms.py? I used ModelForm class to define my forms but in the meta class I excluded one of the required fields so i can add it later in my views.py. I tried adding the value using the save(commit = False) like

edit form perform committing

2008-03-31 Thread jorgehugoma
Hi all, I am having a problem trying to add a field that i excluded in my ModelForm class in my views.py. This field is requeired by the model . In the django documentation says i should do the following: form = Myform(request.POST) formInstance = form.save(commit=False)

Shopping cart

2008-01-02 Thread jorgehugoma
Hi all, Is there a good python shopping cart that works well with django? Thanks, Jorge Hugo Murillo Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Re: Problem installing django on windows

2007-09-12 Thread jorgehugoma
Dean, You have to add python to your system PATH variable or always give python full path (c:\python\python manage.py runserver). To add Python to your PATH variable do the following: 1 right click on my computer and select properties 2 click on the advanced tab 3 click on the Environment

AttributeError

2007-08-27 Thread jorgehugoma
I'm unshelving an object that i wrote in the views module and a get AtributeError, 'module' object has no attribute Myobject. And run one of its functions. Any idea what i am doing wrong?? Jorge Hugo Murillo