User Tools

Site Tools


slowcontrol:web_interface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
slowcontrol:web_interface [2021/07/21 16:00] himuserslowcontrol:web_interface [2022/08/11 11:52] (current) himuser
Line 12: Line 12:
   * update ''src/prima_site/settings.py''', adding the name of the new directory where needed   * update ''src/prima_site/settings.py''', adding the name of the new directory where needed
   * add an ''include'' in ''src/main/urls.py''   * add an ''include'' in ''src/main/urls.py''
 +  * update the appropriate template file in ''src/main/templates/'' to set the proper URL on the proper link. The URL has to be one of those defined in ''urls.py''
 +
 +== Using Static files ==
 +Static files are e.g. html, js or css files which are included in the html code. To include them 
 +correctly use a tag like 
 +      {% static '<filename>' %}
 +where ''<filename>'' contains no path.
  
 == Using Models == == Using Models ==
Line 18: Line 25:
   * add the model class names in ''src/main/admin.py''   * add the model class names in ''src/main/admin.py''
  
 +
 +== Introductory Slides ==
 +[[https://seafile.rlp.net/smart-link/1bf7e8d0-c0cb-432f-a959-66425881e584/?dl=1]]
  
slowcontrol/web_interface.1626883259.txt.gz · Last modified: 2022/01/14 18:44 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki