Changeset 1414 in main for trunk


Ignore:
Timestamp:
07/10/12 15:30:24 (9 years ago)
Author:
pcosquer
Message:

view: rename add_children into add_child

Location:
trunk/openPLM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/plmapp/views/main.py

    r1413 r1414  
    942942##########################################################################################     
    943943@handle_errors 
    944 def add_children(request, obj_type, obj_ref, obj_revi): 
     944def add_child(request, obj_type, obj_ref, obj_revi): 
    945945    """ 
    946946    Manage html page for chidren creation of the selected object. 
  • trunk/openPLM/urls.py

    r1413 r1414  
    115115    (r'BOM-child/$', display_children), 
    116116    (r'BOM-child/edit/$', edit_children), 
    117     (r'BOM-child/add/$', add_children), 
     117    (r'BOM-child/add/$', add_child), 
    118118    (r'BOM-child/replace/(?P<link_id>\d+)/$', replace_child), 
    119119    (r'parents/$', display_object_parents), 
Note: See TracChangeset for help on using the changeset viewer.