[EMAIL PROTECTED] wrote:
> I uses django.views.static to serve my static files. I wrote some
> static html files and want them to be accessed from site's root, for
> example, http://127.0.0.1/file1.html http://127.0.0.1/file2.html, so I
> edit urls.py to:
> (r'^.*$', 'django.views.static.serv
I uses django.views.static to serve my static files. I wrote some
static html files and want them to be accessed from site's root, for
example, http://127.0.0.1/file1.html http://127.0.0.1/file2.html, so I
edit urls.py to:
(r'^.*$', 'django.views.static.serve',
{'document_root':'c:/htmls'}),
2 matches
Mail list logo