Questa è la nuova struttura del progetto (dalle note sulla versione di Django 1.4).Struttura delle cartelle statiche in Django 1.4?
myproject |-- manage.py |-- myproject | |-- __init__.py | |-- settings.py | |-- urls.py | `-- wsgi.py `-- polls |-- __init__.py |-- models.py |-- tests.py `-- views.py
Quello che non sono sicuro circa è se dovrei puntare STATIC_ROOT a
myproject/myproject/static/
(insieme a settings.py, urls.py ...)
O
La directory di livello superiore myproject/static
(accanto a myproject, myapp1, myapp2)?
Non so quale sia la parola "ufficiale", ma penso che la directory di primo livello abbia più senso. – agf