I'm evaluating frameworks, writing the same app different ways.  I've
run smack into Django's static file handling.  I understand that with
Django my basic options for static files are:

  1) Static files on a separate web server
  2) Configure apache to send some content to Django, serve some
statically.
  3) Have django.contrib.staticfiles to serve static content (perhaps
non-optimally) from the Django runtime.

Is there a simple example of #3 (the only one that lets me package up
a complete "app")?

I've read:
https://docs.djangoproject.com/en/dev/howto/static-files/
And trolled the forums.  Both make it seem much more complicated than
it probably actually is.  There's a lot of cruft in the document.  And
when I add "django.contrib.staticfiles" the runtime simply reports
"Error: No module named staticfiles".

Is there a good working tested example out there?

# django-admin.py --version
1.2.5

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to