FinalsClub / djKarma

GNU General Public License v3.0
9 stars 1 forks source link

replace use of the url `/static/*` with the {{ STATIC }} varialble #193

Open sethwoodworth opened 11 years ago

sethwoodworth commented 11 years ago

The django.contrib.staticfiles middleware provides the STATIC variable to templates. If we use this template in url structures, we gain the ability to change our static rendering url anytime we wish.

It's a simple refactor that makes a lot of code cleaner.