thanks for your response.
I've problem once again,
url(r'^$', direct_to_template, {'template': 'base_gestion.html'}),
url(r'^poudres/', 'mysite.poudres.views.accueil_poudre'),
these 2 url do the same thing, but
with the first one, my page is displayed with css and every things in /static/ (to see it please type http://kieuanh.pythonanywhere.com/ )
the second one, i have just html without css and javascript, (to see it please type http://kieuanh.pythonanywhere.com/poudres/ )
in these 2 case i use the same template : base.html
Here is my accueil_poudre()
def accueil_poudre(request):
return render_to_response('base.html')
Here is the head of my base.html, just show how i import staticfiles
<!DOCTYPE html>
<html lang="en">
<head>
{% block head %}
<title>{{ PAGE_TITLE }} - {{ WEBSITE_TITLE }}</title>
<meta charset="utf-8">
{% block css %}
{% endblock %}
<link rel="stylesheet" href="{{ STATIC_URL }}jquery-ui-1.10.3/themes/base/jquery.ui.dialog.css" media="screen"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/reset.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/style.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/grid.css" type="text/css" media="screen"/>
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/base.css" />
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}jquery-ui-1.10.3/themes/base/jquery-ui.css"/>
<script src="{{ STATIC_URL }}jquery-1.10.2.min/jquery-1.10.2.min.js" ></script>
<script src="{{ STATIC_URL }}jquery-ui-1.10.3/ui/jquery-ui.js" ></script>
<script src="{{ STATIC_URL }}js/script.js" type="text/javascript" ></script>
<script src="{{ STATIC_URL }}js/easyTooltip.js" type="text/javascript"></script>
{% endblock %}
<script>
$(function() {
$("#menu").menu();
});
function opendialog(e,url,titre) {
$(e).dialog({
//autoOpen: true,
title: titre,
position: 'top',
width:'auto',
show: "slide",
hide: "puff",
modal: true,
resizable: false
});
$.get(url, function(data) {
$(e).html(data);
});
}
As newbie, I see that pythonanywhere it is more complicated than my aptana and apache :( in some way