Re: Help me for create restful web services

2015-07-06 Thread José Javier Castro Matamoros
03 : > >> Hello All, >> >> I am working on Django 1.6.6 and I am to create a web services in the >> existing code. please tell me how to create a Restful web services using >> Django. I am beginner in python. please help me for web services creation >> >>

Re: Help me for create restful web services

2015-07-06 Thread Sadaf Noor
You can try Tastypie (https://django-tastypie.readthedocs.org/en/latest/) 2015-07-06 19:00 GMT+06:00 ywaghmare5203 : > Hello All, > > I am working on Django 1.6.6 and I am to create a web services in the > existing code. please tell me how to create a Restful web services using &g

Help me for create restful web services

2015-07-06 Thread ywaghmare5203
Hello All, I am working on Django 1.6.6 and I am to create a web services in the existing code. please tell me how to create a Restful web services using Django. I am beginner in python. please help me for web services creation Thanks, Yogesh Waghmare -- You received this message because

Re: n00b question - using Django for web services

2014-09-22 Thread François Schiettecatte
ng requirements and conditions, is Django > what I want to use and where is the best place to start? > * forms filled out on a different page will need to send their info to > my server (e.g. in a webhook or HTTP callback format). > * My web services box needs to take

n00b question - using Django for web services

2014-09-22 Thread Roger Rustad
? - forms filled out on a different page will need to send their info to my server (e.g. in a webhook or HTTP callback format). - My web services box needs to take those inputs (JSON POSTS ?) and then take action on them - First action I'll do here is to SMS / call via Twilio (I have a

Re: django and amazon web services

2014-03-04 Thread Robin Lery
Thank you Clifford for the heads up and your advice! On Sun, Mar 2, 2014 at 1:32 AM, CLIFFORD ILKAY wrote: > On 03/01/2014 11:21 AM, Robin Lery wrote: > > Very nicely explained! I was actually hoping to use Amazon RDS with > > postgresql. Your help was very useful. Thank you! > > There is anoth

Re: django and amazon web services

2014-03-01 Thread CLIFFORD ILKAY
On 03/01/2014 11:21 AM, Robin Lery wrote: > Very nicely explained! I was actually hoping to use Amazon RDS with > postgresql. Your help was very useful. Thank you! There is another issue if your application has to deal with user uploaded files, such as photos, PDFs, etc. You must consider the ins

Re: django and amazon web services

2014-03-01 Thread Robin Lery
Very nicely explained! I was actually hoping to use Amazon RDS with postgresql. Your help was very useful. Thank you! On Sat, Mar 1, 2014 at 3:03 PM, Russell Keith-Magee wrote: > Hi Robin, > > In the simplest deployment case, your entire Django (or, for that matter, > any other framework) web

Re: django and amazon web services

2014-03-01 Thread Russell Keith-Magee
Hi Robin, In the simplest deployment case, your entire Django (or, for that matter, any other framework) website will run on a single server. That single server will contain the web server, the database, any files that have been uploaded, any any other services your site needs (such as memcache, a

django and amazon web services

2014-03-01 Thread Robin Lery
Hello. I have a very basic noob question, which I don't know. Please help me understand this concepts. When I use *ec2* for my application web server, and if I use the services like *autoscale *and *elastic load balancer*, do I always have to sync the database with the new *ec2* instances that are

Re: Web services.

2012-05-02 Thread Karl Sutt
Have you looked into something like Backbone.js ( http://documentcloud.github.com/backbone/) or Spine (http://spinejs.com/)? I know this may not exactly be what you're after, but it does allow you to define models and manipulate them asynchronously (with data being pushed to the server via AJAX). I

Re: Web services.

2012-05-02 Thread Sherif Shehab Aldin
ing some Ajax calls, but I am > a > > bit confused about weather It's better to provide those Ajax calls as web > > services like SOAP or REST, or I just create normal views.. I need to > > standardize those calls, I want to have a pattern to follow whenever I > need >

Re: Soap web services with Soaplib in Django

2012-04-27 Thread Meenakshi Ithape
> I create the client, who access the web services from another url, but i > didn't know > how to send the object to the web_service method or how to check the > methods parameters type using suds? > If know this ,plz let me know. > > > On Thursday, 26 April 2012 19:34:

Re: Web services.

2012-04-27 Thread Tom Evans
those Ajax calls as web > services like SOAP or REST, or I just create normal views.. I need to > standardize those calls, I want to have a pattern to follow whenever I need > to create new Ajax call to minimize the time needed to add new functionality > and focus on the function Itse

Re: Soap web services with Soaplib in Django

2012-04-27 Thread Meenakshi Ithape
Thanks for the reply, I already done this & i create client using suds,& also create the view for that client, display message on the browser. But now i have another issue, I create the client, who access the web services from another url, but i didn't know how to send the

Web services.

2012-04-26 Thread Sherif Shehab Aldin
Hi All, I am developing some django apps, mostly they are adds to the django admin interface... What I need to do a lot is adding some Ajax calls, but I am a bit confused about weather It's better to provide those Ajax calls as web services like SOAP or REST, or I just create normal view

Re: Soap web services with Soaplib in Django

2012-04-26 Thread Mario Gudelj
a problem with what you're passing to the template or what >>> you have in your template. You should supply some actual code from your >>> view and your template. >>> >>> -m >>> >>> On 25 April 2012 15:01, Meenakshi Ithape wrote: >>> &

Re: Soap web services with Soaplib in Django

2012-04-26 Thread Mario Gudelj
oblem with what you're passing to the template or what >> you have in your template. You should supply some actual code from your >> view and your template. >> >> -m >> >> On 25 April 2012 15:01, Meenakshi Ithape wrote: >> >>> I used the Soap we

Re: Soap web services with Soaplib in Django

2012-04-26 Thread Meenakshi Ithape
what you're passing to the template or what > you have in your template. You should supply some actual code from your > view and your template. > > -m > > On 25 April 2012 15:01, Meenakshi Ithape wrote: > >> I used the Soap web services with Soaplib in Django,

Re: Soap web services with Soaplib in Django

2012-04-25 Thread Mario Gudelj
It's probably a problem with what you're passing to the template or what you have in your template. You should supply some actual code from your view and your template. -m On 25 April 2012 15:01, Meenakshi Ithape wrote: > I used the Soap web services with Soaplib in Django, fo

Soap web services with Soaplib in Django

2012-04-25 Thread Meenakshi Ithape
I used the Soap web services with Soaplib in Django, for that i take the help from below link http://djangosnippets.org/snippets/979/ When i run this code through command prompt it runs properly, but when i run it on browser it shows nothing, Can anybody please help me, what should i done wrong

Re: How do I authenticate a urllib2 script in order to access HTTPS web services from a Django site?

2011-02-23 Thread carl
a good discussion on this, let > me know. The following is my problem: > > I'm working on a django/mod_wsgi/apache2 website that serves sensitive > information using https for all requests and responses. All views are > written to redirect if the user isn't authenticated. It also h

How do I authenticate a urllib2 script in order to access HTTPS web services from a Django site?

2011-02-22 Thread carl
ll requests and responses. All views are written to redirect if the user isn't authenticated. It also has several views that are meant to function like RESTful web services. I'm now in the process of writing a script that uses urllib/urllib2 to contact several of these services in order to

Re: Django in a HA cluster web services application with some near real time elements

2008-05-22 Thread puff
Graham, Thanks very much. That was extremely helpful. Regards, Richard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To u

Re: Django in a HA cluster web services application with some near real time elements

2008-05-22 Thread Graham Dumpleton
On May 22, 2:38 am, puff <[EMAIL PROTECTED]> wrote: > Thanks Graham and Ben for the prompt feedback.  It was most helpful. > > > Depending on the hosting mechanism has been configured, anyDjango > > startup may only happen the first time a request comes in. This would > > potentially delay request

Re: Django in a HA cluster web services application with some near real time elements

2008-05-21 Thread puff
keeping your django code as simple as possible, i.e. just to process > the request and return the results. There are a few instances where we've > called out to other web services in a view and it's gone ok... but there are > a couple where it's bitten us HARD! (SOAP over https

Re: Django in a HA cluster web services application with some near real time elements

2008-05-21 Thread puff
Thanks Graham and Ben for the prompt feedback. It was most helpful. > Depending on the hosting mechanism has been configured, any Django > startup may only happen the first time a request comes in. This would > potentially delay requests if the initialisation takes a while. Our current hosting

Re: Django in a HA cluster web services application with some near real time elements

2008-05-21 Thread Ben Ford
just to process the request and return the results. There are a few instances where we've called out to other web services in a view and it's gone ok... but there are a couple where it's bitten us HARD! (SOAP over https using the ZSI library). If you're thinking of a cron job,

Re: Django in a HA cluster web services application with some near real time elements

2008-05-21 Thread Graham Dumpleton
On May 21, 10:37 pm, puff <[EMAIL PROTECTED]> wrote: > As part of startup, the application needs to initialize itself from a > number of external applications.  We've Googled the issue and it > appears that it is reasonable to do this initialization by putting > code in startup.py.  Is this the ca

Django in a HA cluster web services application with some near real time elements

2008-05-21 Thread puff
We are considering using Django as part of a HA cluster web services application that has some near real time elements. While much of our application seems well suited to Django some of the near real time elements are concerns and we were hoping that this list might provide some perspective on

Re: Accessing Web Services using Django

2007-07-03 Thread Roboto
Thanks Jacob, I was looking for something like this! On Jul 3, 2:17 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > Hey Roboto -- > > There isn't anything Django-specific about consuming web services; > it's just Python. You might want to check out

Re: Accessing Web Services using Django

2007-07-03 Thread Jacob Kaplan-Moss
Hey Roboto -- There isn't anything Django-specific about consuming web services; it's just Python. You might want to check out the section of Dive Into Python that covers web services: http://diveintopython.org/http_web_services/index.html God lu

Accessing Web Services using Django

2007-07-03 Thread Roboto
Hey guys, I'm still new to Python and Django, heck I guess I consider myself new to web development in general, and I'm at a part where I'm a little lost on what to do. In a nutshell I have a form that will take in a Country (from a drop down) and a postal code. I want to grab the province/state

Re: Integrating web services with django

2007-03-21 Thread Jeremy Dunck
On 3/21/07, Nathan Harmston <[EMAIL PROTECTED]> wrote: ... > The view could return results if the result was retrieved > within a specific time period, else it would return a "work in progress". > Would this kind of thing work? So the "WS client process" and Django both > share the same models and

Re: Integrating web services with django

2007-03-21 Thread ashwoods
o spit out client side code that actually does the processing. there are some situations where you want to "cache" a webservice, so the server would do the service "fetching". both approaches are easily done with django. On Mar 21, 2:04 pm, "Nathan Harmston" <[EMAIL P

Re: Integrating web services with django

2007-03-21 Thread Nathan Harmston
When I say Web Services, I am including SOAP aswell as REST. So my django project actually becomes a portal to various web services hosted by external entities. So is the best way to do it, to have a job model which holds the various job data and have a process running which runs the web service

Re: Django & Web Services Api

2007-03-20 Thread johnny
I am not sure if I want to take XML-RPC approach. In the future, I may consider REST for Web Services API, like Flickr. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Django & Web Services Api

2007-03-20 Thread Mohammad Tayseer
If you are using XML-RPC, then you should read this http://effbot.org/zone/element-xmlrpc.htm Mohammad Tayseer http://spellcoder.com/blogs/tayseer - Get your own web address. Have a HUGE year through Yahoo! Small Business. --~--~-~--~~

Re: Django & Web Services Api

2007-03-19 Thread Nathan R. Yergler
ElementTree is great, and included with Python 2.5; lxml (http://codespeak.net/lxml) is a super-fast ElementTree + xpath + xslt + lots library implemented on top of libxml2. On 3/19/07, johnny <[EMAIL PROTECTED]> wrote: > > I need to create a simple web api for my project. Basically they make >

Django & Web Services Api

2007-03-19 Thread johnny
I need to create a simple web api for my project. Basically they make a request, I send response back in XML. Or they send me XML docs to upload to my site. Any good python XML out there for this kind of service? I am looking at ElemenTtree. Any other ideas welcome. Thank you --~--~--

Re: Integrating web services with django

2007-03-14 Thread Malcolm Tredinnick
On Tue, 2007-03-13 at 13:36 +, Nathan Harmston wrote: > Hi, > > I was wondering if anyone had added a web services client to django. > Ie when a user makes a request, "Web service" is an extremely generic term, so you aren't really asking a specific question h

Integrating web services with django

2007-03-13 Thread Nathan Harmston
Hi, I was wondering if anyone had added a web services client to django. Ie when a user makes a request, it is processed by django and then a web service is invoked and the results send back. Has anyone developed any frameworks or apps which do this? How can I deal with invocations/jobs which

Re: Web services in Django

2007-02-11 Thread marxy
It might be good to see what our friends at TurboGears are up to with http://cheeseshop.python.org/pypi/TGWebServices/ cheers, peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Web services in Django

2007-01-12 Thread David Larlet
2006/12/22, juampa <[EMAIL PROTECTED]>: > > Hello all: > > I am trying to gather all the information I can about implementing web > services with Django (XML-RPC, SOAP, REST). Can you suggest good > sources of information/examples of implementations? What is the offical &

Re: Web Services in Django

2006-12-23 Thread Russell Keith-Magee
On 12/22/06, juampa <[EMAIL PROTECTED]> wrote: Hello all: I am trying to gather all the information I can about implementing web services with Django (XML-RPC, SOAP, REST). Can you suggest good sources of information/examples of implementations? What is the offical status of WS supp

Web Services with Django.

2006-12-23 Thread juampa
Hello all: I am trying to find as much information as possible about web services with Django (RPC, SOAP, REST), particularly implementing (serving) them. I have found a couple references in this list to a SOAP and an XML-RPC patch. Is there more information or examples available? What is the

Web Services in Django

2006-12-23 Thread juampa
Hello all: I am trying to gather all the information I can about implementing web services with Django (XML-RPC, SOAP, REST). Can you suggest good sources of information/examples of implementations? What is the offical status of WS support in Django? Thanks. Juampa P.S. I accidentally posted

REST-like web services in Django

2006-11-01 Thread [EMAIL PROTECTED]
Hi everyone, Just thought I'd throw out an implementation I've been kicking around for an app I'm building. Just wanted to get the groups thoughts. I know this violates MVC in a way, you can do this writing out url files and views seperately, but some of the flexibility of having models define s

Re: Web Services

2006-02-25 Thread ChaosKCW
Thanks for the all the posts, I will look into them all thouraghly. Might take some time as this is a sapre time project :-) Thanks again, S --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Web Services

2006-02-20 Thread [EMAIL PROTECTED]
I wonder what will come out out http://code.djangoproject.com/ticket/115 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To un

Re: Web Services

2006-02-18 Thread Amit Upadhyay
Hi,Check out http://nerdierthanthou.nfshost.com/2005/09/soaped-django.html and http://nerdierthanthou.nfshost.com/2005/09/xmlrpc-support-for-django.html before you go on implementing something.On 2/18/06, mateja < [EMAIL PROTECTED]> wrote:Chaos,I too am interested in adding XML-RPC functionali

Re: Web Services

2006-02-17 Thread mateja
Chaos, I too am interested in adding XML-RPC functionality to django. I have not done anything more about this past just dreaming about it. I'm very familiar with how to do this in Java, but I've been looking for an excuse to start a django project. Here are some thoughts... A google search

Web Services

2006-02-11 Thread ChaosKCW
Hi I have read the web services link and done some research but nothing stands out. I am interested in designing and application around the web services model. That is I want the core backend functions as standalone in that they can be hooked up via any front end ie XML-RPC or SOAP etc

Re: Atom and web services interfaces

2005-11-25 Thread tonemcd
Groan! - just starting out on my Django career and already falling victim to the "didn't read the dcoumentation" disease! Thanks very much indeed Rob, it works fine now! cheers Tone

Re: Atom and web services interfaces

2005-11-25 Thread oggie rob
> Thanks for the reply Rob - yup it's a string all right, but the only time *I* pass anything to rfc3399 is when I pass it a datetime.datetime object. Okay, but I meant the add_item method wants a datetime. From your original post: f.add_item(title=u"Hot dog today", link = u"http://www.exampl

Re: Atom and web services interfaces

2005-11-25 Thread tonemcd
Thanks for the reply Rob - yup it's a string all right, but the only time *I* pass anything to rfc3399 is when I pass it a datetime.datetime object. It seems that the routine feedgenerator.writeString is sending rfc3399 a string rather than a datetime.datetime object, which it gets from the write

Re: Atom and web services interfaces

2005-11-25 Thread oggie rob
Looks like you are passing in a string object for the date. feedgenerator.rfc3339_date(when) will return a string rather than a datetime object, I'm guessing that is the problem. -rob

Re: Atom and web services interfaces

2005-11-24 Thread tonemcd
Oh yes, I figured that Django would be very RESTian-friendly from the URL dispatching. I did some digging around for Atom publishing modules (parsing seems to be pretty well taken care of with feedparser and ElementTree) and after some false starts, I found quite a good publisher in ... django! (d

Re: Atom and web services interfaces

2005-11-23 Thread Adrian Holovaty
On 11/23/05, tonemcd <[EMAIL PROTECTED]> wrote: > I'm thinking of using Django as the front-end to an experimental > Atom-enabled 'store' as outlined by Joe Gregorio at > http://www.xml.com/pub/a/2005/09/21/atom-store-web-database.html > [...] > Any thoughts gratefully received. Hi Tone, Django'

Atom and web services interfaces

2005-11-23 Thread tonemcd
Hello, I'm thinking of using Django as the front-end to an experimental Atom-enabled 'store' as outlined by Joe Gregorio at http://www.xml.com/pub/a/2005/09/21/atom-store-web-database.html I'm a real newbie to Django, having spent the last 7 years in Zope-land, and am looking at Django as an adj