Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8017715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:55:27+00:00 2026-06-04T20:55:27+00:00

I am using Django (1.3) and I need to prepare an API for communication

  • 0

I am using Django (1.3) and I need to prepare an API for communication with programs wtirtten in C#. So we choose XML as input and output format, since C# is quite good with XML.

Beyond that, I have concerns about APIs that work well with django, would be enough to help me in my needs. I have done some research about APIs like tasty-pie and django-piston. My concerns are:

  • I will keep my user records not on User, but some other model. As far as i know, apis above support self defined authentication and authorization. But cold not find more if keeping User out all is possible?

  • On documents, all examples are simply based on selecting a record or creating a new one on a defined model. But in my case, I need to check the data through different models, (thus, input data can not be derived from a single model). Similarly, output also will created with data from different models. With simpler words, my input and output is not bounded to a simple model, I need to process (some part of the input data) and create a custom output data in XML format.

On that two basic questions, I wonder if APIs like Django-piston or tasty-pie is suitable for me, or what i really need is an application which can read and produce XML requests/reponses and works well with django

What I need is a django application which:

  • Can produce XML formatted responses (to communicate with a remote C# program)
  • Can process XML requests (that come from a remote c# program) or simple url requests (like django views, but produce XML output.)
  • Do not use django authentication but custom authentication through a self defined User model
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:55:28+00:00Added an answer on June 4, 2026 at 8:55 pm

    django-piston and tastypie both allow you to define custom data “formats” that you describe. piston (and possibly tastypie) also provide convenience methods and structures that let you easily model your models as api endpoints. Tying in to your models is not a requirement though. You essentially build up a dictionary, returning that, and letting the formatters do their work in converting the dict to a json or xml response.

    I’m confident that either library will suit your needs. I’d like to suggest that you use JSON though, as it is very widely used for APIs, reduces overheard, and is easier to read with the naked eye. C# handles JSON just fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently using django with tastypie. I need to implement an api for Questions
I need to create a secure restFUL api using sencha and django. I am
I'm using django-cms 2.2 and imagestore as gallery plugin. But I need to customize
I'm using django for a website app, mostly. I need to write a canvas
I'm developing a website using the Django framework, and I need to retrieve Jabber
I need some opinions here. I'm working on a Django project using buildout to
I need to make mobile app using sencha as client and django as server
I'm using a CBGV CreateView in a Django project. I need to add some
I am using django 1.2 to create a multi site shop. I need multiple
I'm using Django + internal database(mysql). but, I need to query to another external

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.