Re: Runserver/DEBUG only, serve / from static directory

2015-04-21 Thread Bill Freeman
If I understand your needs, try r'^$', which will catch only the top of the site. (You might want r'^(?:index.html)?$' in case some old browser you deal with has that fiddle, but the browser really should try what you typed first.) On Tue, Apr 21, 2015 at 3:02 PM, LiteWait wrote: > I have the n

Runserver/DEBUG only, serve / from static directory

2015-04-21 Thread LiteWait
I have the need in runserver/debug mode to map http://127.0.0.1:8000/ out of a static /client directory. Django will only serve up pages from /api which a DRF REST services. I can't seem to find a way to create the URL mapping for this. It seems https://docs.djangoproject.com/en/dev/howto/st