Ignore:
Timestamp:
05/03/12 10:39:08 (8 years ago)
Author:
mnagni
Message:

Updated the urls.py in order to allow a static access to css/js/img. Anyway as specified in DJANGO manual

"Django itself doesn’t serve static (media) files, such as images, style sheets, or video. It leaves that job to whichever Web server you choose.
The reasoning here is that standard Web servers, such as Apache, lighttpd and Cherokee, are much more fine-tuned at serving static files than a Web application framework."

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/libs/migration/client.py

    r8092 r8137  
    5050        mp.process() 
    5151 
     52#record = Moles3EPB.search(CEDA_Observation, 12) 
     53#print DJEncoder().encode(record) 
     54 
     55lr = LoadResources() 
     56mp = MigrationProcess() 
     57 
     58dataEntity = MigrationObject() 
     59dataEntity.doc_status = DS_pUBLISHED 
     60dataEntity.doc_owner = DO_BADC 
     61dataEntity.doc_name = 'dataent_csip.atom' 
     62 
     63lr.process() 
     64mp.process(dataEntity) 
     65 
     66 
     67 
     68 
     69 
Note: See TracChangeset for help on using the changeset viewer.