willkg / douglas

DEAD PROJECT: File based static rendering blog system
Other
2 stars 3 forks source link

deal with static assets when running as WSGI app #24

Open willkg opened 10 years ago

willkg commented 10 years ago

Maybe have a collectstatic command that collects all the static files and puts them in the staticdir for serving by the web server. have a "middleware" that serves files from staticdir when enabled. have a static() function that generates static urls.