Re: New server set up

2010-08-10 Thread Scott Hebert (slaptijack)
Python 2.4 is the default version that ships with RHEL / CentOS 5.x. On Aug 9, 4:27 pm, Boguslaw Faja wrote: > why are you using python in version 2.4? It's a bit old. -- Scott Hebert http://slaptijack.com -- You received this message because you are subscribed to the Google Groups "Django us

Re: how can i wsdl file in my django

2010-10-23 Thread Scott Hebert (slaptijack)
You need to provide a SOAP service or consume one? -- Scott Hebert http://slaptijack.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send em

Re: serving SOAP service with soaplib, consuming with suds

2010-10-23 Thread Scott Hebert (slaptijack)
Ricko - You may have already gotten your answer. I believe your problem is related to Django's CSRF protection. If that's the case, you'll want to import csrf_exempt from django.views.decorators.csrf into your views and then wrap the call to MySOAPService in it. For example: # views.py from djan

Re: Redirecting to last view after login.

2011-01-05 Thread Scott Hebert (slaptijack)
I'm sorry you haven't gotten a response from anyone yet. >From everything you've provided here, it looks like you're doing this exactly right. The key seems to be that request is not being set. I think you need to verify two things: 1) That django.core.context_processors.request is in your TEMPLA

Re: Django admin - action on delete

2011-01-07 Thread Scott Hebert (slaptijack)
On Jan 7, 5:18 am, robos85 wrote: > What action is initialized when delete link is clicked? > I user save_model() to override default save action, but can't find action > to override delete procedures. I need it:/ Every model has a delete() method. You should be able to override it. http://docs.

Re: I get an error when I used urllib2.urlopen() to open a remote file in a ftp server

2011-01-07 Thread Scott Hebert (slaptijack)
>         file = 'ftp:/16.168.250.14:2189/RTVE/VIDEOS/Thisisit.wmv' Looks like you are missing a second slash before the IP address there. file = 'ftp://16.168.250.14:2189/RTVE/VIDEOS/Thisisit.wmv' -- Scott Hebert http://slaptijack.com/ -- You received this message because you are subscribed t