python django jsonrpc proof of concept

This project received 3 bids from talented freelancers with an average bid price of $368 USD.

Get free quotes for a project like this
Project Budget
$30 - $5000 USD
Total Bids
Project Description

I'm looking to foster a long term relationship with a vendor to outsource some of our development work to. We've developed, and are continuing to develop, a system using python/django. I'm looking for a developer, or team, that has good experience in python and django.

This project is fairly simple. Create a method called question_new, that will save a question and its answers. Create another method which will update the question/answers based on the model details. When a question, or its respective answers, is updated, the old version should be saved and stored. Use the django reversion extension (quite well known and found on github)

Your code should be able to take in the form values from and save them to the database. in addition to this, it should be able to update the information if it gets edited, for example, if the question text changes, the question text should get updated. If a new answer is created, or removed, it should likewise be removed in the database.

The django model looks is included in the next section.

Also, I require for the code to come with test cases testing the various scenarios (creating a new question, with 2 answer options, updating the question, updating the text to 1 answer, removing 1 answer, and adding another). That is 4 test cases.

## Deliverables

django model for question and answers:

class Question([url removed, login to view]):


(u'T', u'True or False'),

(u'C', u'Multiple Choice'),

(u'S', u'Multiple Select'),

(u'B', u'Fill in the Blanks'),

(u'L', u'Connect the Answers'),

(u'M', u'Manually Marked'),


type = [url removed, login to view](max_length=1, choices=QUESTION_TYPES)

text = [url removed, login to view](null=True, help_text="Question text which is displayed")

score = [url removed, login to view]()

feedback = [url removed, login to view](Feedback, null=True)

randomize = [url removed, login to view](default=1, help_text="Randomize the order of the answers for this question")

is_published = [url removed, login to view](default=1, help_text="If disabled this question cannot be chosen for a paper")

version = [url removed, login to view](default=1)

created = [url removed, login to view](auto_now_add=True)

def __unicode__(self):

return [url removed, login to view][:10]+' (id: '+str([url removed, login to view])+')'

class Answer([url removed, login to view]):

question = [url removed, login to view](Question)

text = [url removed, login to view](help_text="Answer text or id (if applicable)")

score = [url removed, login to view](max_digits=4,decimal_places=2)

is_published = [url removed, login to view](default=1,

help_text="If disabled this answer can't be selected for the related question")

sequence = [url removed, login to view]()

created = [url removed, login to view](auto_now_add=True)

modified = [url removed, login to view](auto_now=True)

def __unicode__(self):

return 'Answer to q '+str([url removed, login to view])+' is: '+[url removed, login to view][:20]

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online