Try use ../ in CSS files If you are using one CSS by app. Or /static/ if you are using just one CSS for all apps
:D On Tue, Jul 19, 2011 at 3:29 AM, Anoop Thomas Mathew <[email protected]>wrote: > Hi, > > Depends on how you configured STATIC_URL in settings. If / is there in the > STATIC_URL, then no need to add it. > Add it with STATIC_URLS, that is the standard practice. > > regards, > > Anoop > atm > ___ > Life is short, Live it hard. > > > > > > On 19 July 2011 11:31, NISA BALAKRISHNAN <[email protected]>wrote: > >> i am new to django >> >> @import "{{STATIC_URL}}/css/demo_page.css"; >> >> the slash after {{STATIC_URL}} is needed? what is the actual usage ? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Valder Gallo +55 41 3206-9349 +55 41 9658-9349 @valdergallo www.valdergallo.com.br -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

