If you don't have a staticfiles module, you most likely aren't using
Django 1.3. Make sure you select the correct version of Django when
viewing the docs, as things are often done differently in older
versions, but the doc pages usually default to the latest SVN release.

On Dec 27 2010, 10:43 pm, Bithu <bithin2...@gmail.com> wrote:
> When i was trying to set my static files. When i added the
> 'django.contrib.staticfiles' into INSTALLED_APP in my setting.py the
> development server was not running showing an error  Error: No module
> named staticfiles.
>
> On Dec 27, 7:07 pm, Chris Lawlor <lawlor.ch...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Django doesn't server static files (like your CSS file) by default -
> > but you can configure the development server to do 
> > so:http://docs.djangoproject.com/en/dev/howto/static-files/
>
> > Note that this has changed a lot in Django 1.3, so be sure to view the
> > correct version of that page for the version of Django that you are
> > using.
>
> > In production, you should almost always configure another server to
> > serve static files.
>
> > On Dec 27, 8:29 am, Bithu <bithin2...@gmail.com> wrote:
>
> > > When i was trying to load an external stylesheet it was not working.
> > > But the internal css is working nicely.
>
> > > What should i do to link my .css file to my html template which is
> > > inside my template folder.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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