Re: Static files

2011-05-18 Thread John Wheeler
Yeah, I didn't mean to be a troll. I should've mentioned that everything else in django has been pretty fantastic despite this one, IMO, major usability oversight. Maybe I'm just not in with serving things off S3 or whatever you assume most people will do, which is probably a decent assumption

Re: Static files

2011-05-18 Thread John Wheeler
I had to change return render_to_response('index.html', {'form': form}) to return render_to_response('index.html', {'form': form}, context_instance=RequestContext(request)) This very technical sounding bit escaped me If {{ STATIC_URL }} isn't working in your template, you're probably n

Static files

2011-05-18 Thread John Wheeler
Dude, STATICFILES_DIRS = ('/home/jwheeler/projects/pwscheduler/static',) STATIC_URL = '/static/' TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader', ) INSTALLED_APPS = ( 'django.contrib.auth',