Django for Designers/Basic views: Difference between revisions

→‎Static files: Karen-ifying these TODOs
imported>Aldeka
imported>Paulproteus
(→‎Static files: Karen-ifying these TODOs)
Line 321:
</source>
 
TODO (Karen) 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.
Line 338:
Make sure you see ''manage.py'', and then let's continue.
 
TODO (Karen): see how the old HTML looks here
 
Now let's add some more structure to our HTML templates to make them easier to style. First, base.html:
Anonymous user