Jump to content

Django for Designers: Difference between revisions

→‎Static files: Remove leading / from /myproject/
imported>Paulproteus
(→‎Static files: provided static => sample-static-files)
imported>Paulproteus
(→‎Static files: Remove leading / from /myproject/)
Line 586:
</pre>
 
Django automatically looks for a folder named 'static' inside any of your Django apps. You can also put static files in other places, such as inside /myproject/ directly. To do that, you would need to add the absolute path of the folder to STATICFILES_DIRS in settings.py.
 
For this tutorial we'll just leave our static files inside bookmarks/, for the sake of simplicity.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.