Jump to content

Django for Designers: Difference between revisions

→‎Static files: Fix up text to say they are samples
imported>Paulproteus
(Using git mv, and avoiding cp -r (which is inconsistent between Mac OS and GNU, which is amazing))
imported>Paulproteus
(→‎Static files: Fix up text to say they are samples)
Line 568:
Now we know how to create HTML within Django's templating language. For a good web application, though, you will probably want to embed stylesheets, scripts, images, and other files. How can we include static files such as these?
 
Move outside your myproject/ directory and copymove the contents of the sample-static-files/ folder that came with your git repo into myproject/bookmarks/.
<source lang="bash">
$ cd ..
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.