Consume Web Service

2012-11-08 Thread Derrick Jackson
Hi all, I have a web service that I need to consume. Do you have any recommendations as to what I should be using to consume it? SoapLIb, Suds, etc... -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Re: Consume Web Service

2012-11-09 Thread Derrick Jackson
umcoder.co.uk/blog/2009/nov/23/running-soap-webservice-without-library/ > > > Tim. > > On 08/11/12 21:26, Derrick Jackson wrote: > > Hi all, > > > > I have a web service that I need to consume. Do you have > > any recommendations as to what I

Local Flavor - PhoneNumberField (KeyError: Invalid)

2013-02-06 Thread Derrick Jackson
Hi all, I am working on implementing the US PhoneNumberField and currently as long as I pass in the expected phone number length (10 digits) the number is formatting numbers just as I expect. However, if I dont put enough numbers in the form field, I get a Key Error. I can't for the life of

Django 1.5.1 and clearsessions

2013-08-07 Thread Derrick Jackson
Hmm... When I attempt to run django-admin.py clearsessions while using django 1.5.1 I am told that clearsessions is an unknown command. Has anyone successfully used clearsessions as of yet? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Django 1.5.1 and clearsessions

2013-08-07 Thread Derrick Jackson
UPDATE: I am able to run this via PyCharm's Tools > Run manage.py Task. However, for the life of me I cannot figure out how to run this from the command line. What am I missing? On Wednesday, August 7, 2013 9:41:37 AM UTC-4, Derrick Jackson wrote: > > Hmm... > > When I a

Re: Django 1.5.1 and clearsessions

2013-08-07 Thread Derrick Jackson
Thanks Richard. I'll double-check and try again. On Wed, Aug 7, 2013 at 10:39 AM, Richard E. Cooke wrote: > Works fine for me. Must be a path issue. > > > > > On Wednesday, August 7, 2013 9:41:37 AM UTC-4, Derrick Jackson wrote: > >> Hmm... >> &g

DecimalField

2013-08-25 Thread Derrick Jackson
Hi All, My Model has a DecimalField: amount = models.DecimalField(max_digits=19, decimal_places=2, verbose_name='Amount') My ModelForm has the following: self.fields['amount'] = forms.DecimalField(error_messages={ 'required': 'Amount is required.', 'invalid': 'Numbers on

Re: DecimalField

2013-08-27 Thread Derrick Jackson
using Django 1.5.2 On Sunday, August 25, 2013 5:47:00 AM UTC-4, Derrick Jackson wrote: > > Hi All, > > My Model has a DecimalField: > > amount = models.DecimalField(max_digits=19, decimal_places=2, > verbose_name='Amount') > > My ModelForm has the

Re: DecimalField

2013-11-05 Thread Derrick Jackson
, 2013 9:43:59 AM UTC-4, Derrick Jackson wrote: > > Thanks Tom. I actually tried that at one point and this is the error I > received: not all arguments converted during string formatting. > > The required and invalid error message keys work fine but it appears the > max_dec

Re: DecimalField

2013-11-05 Thread Derrick Jackson
Thanks Tom. This did the trick. Much appreciated. On Sunday, August 25, 2013 5:47:00 AM UTC-4, Derrick Jackson wrote: > > Hi All, > > My Model has a DecimalField: > > amount = models.DecimalField(max_digits=19, decimal_places=2, > verbose_name='Amount') >

DecimalField and SQL Server

2013-12-06 Thread Derrick Jackson
Hello all, I have a strange occurrence I'd like to share to see if any of you have run into the same thing. I am using Django 1.5.4, SQL Server 2008, and have the following field definition in one of my models: gift_value = models.DecimalField(max_digits=20, decimal_places=2, verbose_name='Gift

Re: DecimalField and SQL Server

2013-12-06 Thread Derrick Jackson
Hi Michael, I'm using django-pyodbc 0.10 On Friday, December 6, 2013 8:42:00 AM UTC-5, Michael Manfre wrote: > > Which database backend are you using to connect to SQL Server? > > Regards, > Michael Manfre > > On Friday, December 6, 2013 6:45:30 AM UTC-5, Derrick Jack

Re: DecimalField and SQL Server

2013-12-08 Thread Derrick Jackson
est for adodbapi, and > it works correctly. Therefore I would conclude that the problem is in > django-pyodbc, not in SQL Server itself. > > Micheal and I maintain the other SQL server backend, sqlserver_ado, so I > am afraid that we can't be much more help to you. > --

Re: DecimalField and SQL Server

2013-12-08 Thread Derrick Jackson
-5, Thomas wrote: > > > On 2013-12-08, at 7:18 AM, Derrick Jackson > > > wrote: > > Thanks Vernon and Michael. > > I've done a little more research and at first I thought the problem was in > django_pyodbc. However, running the following "%0.2f" %