Code

Changes between Version 12 and Version 13 of AjaxDjangoDojoForm


Ignore:
Timestamp:
06/05/06 18:43:52 (8 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AjaxDjangoDojoForm

    v12 v13  
    1414I will use the model of my current website, a recipe one. 
    1515When a registred user see the details of a recipe, the user can mark it or update their mark by selecting a small drop down list. 
    16 But when the user clicks ok the whole page is reloads. We will use some Ajax to make it transparent and for the fancy effect 
     16But when the user clicks ok the whole page reloads. We will use some Ajax to make it transparent and for the fancy effect 
    1717we can add fading status message like "Your mark has been updated". 
    1818The select box proposes a mark from 1 to 5, it is actually a form which is sent to the server via POST, which in django link to a method 
     
    163163If you are using dreamhost for hosting please be aware that simplejson is not installed. 
    164164Instead you will have to install the source of simplejson in a folder in your home directory eg /proz/json/simple_json 
    165 the simple_json directory contains the required __init__.py for it to be loaded as a python module. 
     165The simple_json directory contains the required __init__.py for it to be loaded as a python module. 
    166166 
    167167Then in your ~/.bash_profile add the directory to your python path like below. 
     
    183183Any troubles : coulix@gmail.com 
    184184 
    185 coulix 
    186185 
    187  
    188