Django for Designers: Difference between revisions

imported>Paulproteus
(→‎Adding Tastypie as a dependency: "tuple" => "sequence")
imported>Paulproteus
Line 656:
$ git mv sample-static-files/* myproject/bookmarks/static/
</source>
 
TODO Actually provide sample static files here, and play-test the rest of this section.
 
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.
Anonymous user