> non-optimally) from the Django runtime.
this is just for developing purposes. 1) 2) are the ways to go.
> 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/
that is the development version
https://docs.djangoproject.com/en/1.2/howto/static-files/
> And
> when I add "django.contrib.staticfiles" the runtime simply reports
> "Error: No module named staticfiles".
that is because django.contrib.staticfiles is there since 1.3
> Is there a good working tested example out there?
>
> # django-admin.py --version
> 1.2.5
switch to 1.3.1 and then you can use django.contrib.staticfiles.
Ivo
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment