This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
devel:django_introduction [2008/09/25 11:42] jodal Add a line about the placement of configuration files. |
devel:django_introduction [2008/09/25 11:42] jodal Fix typo. |
||
---|---|---|---|
Line 88: | Line 88: | ||
Finally, the folder ''media/'' contains all static media which is needed by the app. Typically, this should be ''media/style/'' for CSS-files, ''media/js/'' for JavaScript, and ''media/images/'' for images. Files should typically be named after the app to avoid name collisions with other apps when installed, i.e. ''media/style/ipdevinfo.css'' and subfolders like ''media/images/ipdevinfo/''. | Finally, the folder ''media/'' contains all static media which is needed by the app. Typically, this should be ''media/style/'' for CSS-files, ''media/js/'' for JavaScript, and ''media/images/'' for images. Files should typically be named after the app to avoid name collisions with other apps when installed, i.e. ''media/style/ipdevinfo.css'' and subfolders like ''media/images/ipdevinfo/''. | ||
- | Configuration files should be in the ''config/'' folder in the source tre, and installed into ''$NAVHOME/etc/appname/''. | + | Configuration files should be in the ''config/'' folder in the source tree, and installed into ''$NAVHOME/etc/appname/''. |
How to install everything mentioned here is defined in ''Makefile.in''. | How to install everything mentioned here is defined in ''Makefile.in''. |