Beispiel #1
0
def toaddauthored(request):
        author=Author()
        author.name=request.GET['name']
        author.age=request.GET['age']
        author.country=request.GET['country']
        author.AuthorID=request.GET['authorid']
        author.save()
        return render_to_response('addauthorsucceed.html')