Django for Designers: Difference between revisions

Line 572:
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 /mysite/ directly. To do that, you would need to add the absolute path of the folder to STATICFILES_DIRS in settings.py.
 
WeFor this tutorial we'll just leave our static files inside bookmarks/, for the sake of simplicity.
 
TODO: see how the old HTML looks here
Line 664:
{% endblock %}
</source>
 
Now if we reload our site at http://localhost:8000, we can see that the prewritten static files have modified it some, and it looks significantly nicer than it did before!
 
=== Part 3: Models, our database, and making it visible ===
Anonymous user