Find Jobs
Hire Freelancers

python django jsonrpc proof of concept

$30-5000 USD

Fermé
Publié il y a presque 13 ans

$30-5000 USD

Payé lors de la livraison
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([login to view URL]): QUESTION_TYPES = ( (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 = [login to view URL](max_length=1, choices=QUESTION_TYPES) text = [login to view URL](null=True, help_text="Question text which is displayed") score = [login to view URL]() feedback = [login to view URL](Feedback, null=True) randomize = [login to view URL](default=1, help_text="Randomize the order of the answers for this question") is_published = [login to view URL](default=1, help_text="If disabled this question cannot be chosen for a paper") version = [login to view URL](default=1) created = [login to view URL](auto_now_add=True) def __unicode__(self): return [login to view URL][:10]+' (id: '+str([login to view URL])+')' class Answer([login to view URL]): question = [login to view URL](Question) text = [login to view URL](help_text="Answer text or id (if applicable)") score = [login to view URL](max_digits=4,decimal_places=2) is_published = [login to view URL](default=1, help_text="If disabled this answer can't be selected for the related question") sequence = [login to view URL]() created = [login to view URL](auto_now_add=True) modified = [login to view URL](auto_now=True) def __unicode__(self): return 'Answer to q '+str([login to view URL])+' is: '+[login to view URL][:20]
N° de projet : 3361122

Concernant le projet

3 propositions
Projet à distance
Actif à il y a 13 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
3 freelances proposent en moyenne $368 USD pour ce travail
Avatar de l'utilisateur
See private message.
$255 USD en 7 jours
3,8 (22 commentaires)
5,3
5,3
Avatar de l'utilisateur
See private message.
$425 USD en 7 jours
5,0 (17 commentaires)
4,8
4,8
Avatar de l'utilisateur
See private message.
$425 USD en 7 jours
4,8 (9 commentaires)
3,9
3,9

À propos du client

Drapeau de SOUTH AFRICA
South Africa
0,0
0
Membre depuis juin 6, 2011

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.