I do tests using development server and everything is OK. But now, the
app must be available to the users. If I musn't match the content
static folder with a url, how must I rewrite the href to static file?
I mean, using the development server the href to a css file is as
follow: <link rel="stylesheet" href="/static/css/style.css" type="text/
css" media="screen" />. How must I change the href to get the static
content be loaded?

On Oct 15, 12:02 am, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> On 14 oct, 20:28, Javi <[EMAIL PROTECTED]> wrote:
>
> > Dear group,
>
> > sorry for starting another thread on this issue. I've seen loads of
> > messages with similar but particular problems.
> > My system:
> > * apache2 (2.2.9-10)
> > * libapache2-mod-python  (3.3.1-5)
> > * python-django (1.0-1)
>
> > My project is located at:  ~/Desktop/csl2-sdocente/src/candidateTool
> > and the app I'm trying to make work is called assessmentSystem,
> > obviously at ~/Desktop/csl2-sdocente/src/candidateTool/
> > assessmentSystem.
>
> Just for the record : is there any reason you don't use the builtin
> development server ?
>
> > The static files are located at ~/Desktop/csl2-sdocente/src/
> > django_media/ and match with the url 'r'^static/(?P<path>.*)$'
>
> ???
>
> You don't have to do url matching within django to serve static
> content - unless using the development server, that is. Did you try
> commenting out this line from your urls.py file ?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to