On Thursday, August 1, 2013, Jairo Alonso Velásquez wrote: > Hi community, I posted a problem here: > > > http://stackoverflow.com/questions/18005574/django-1-5-get-404-on-static-files > > I will do it again here if somebody can help me: > > In django 1.5 there are changes about this in templates, can you pastebin your templates ?
I consider ok your config. Regards, > I need a little help with this, I've been searching for a solution with no > results. > > This are my settings: settings.py: > > STATIC_ROOT = '' > # URL prefix for static files.# Example: "http://media.lawrence.com/static/" > > STATIC_URL = '/static/' > > PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) > > STATICFILES_DIRS = ( > PROJECT_ROOT + '/static/') > > Installed apps: > > INSTALLED_APPS = [ > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'django.contrib.messages', > 'django.contrib.staticfiles', > 'django.contrib.admin', . . . > > Running with DEBUG = TRUE: > > August 01, 2013 - 16:59:44Django version 1.5.1, using settings > 'settings'Development server is running at http://127.0.0.1:8000/Quit the > server with CONTROL-C.[01/Aug/2013 16:59:50] "GET / HTTP/1.1" 200 > 6161[01/Aug/2013 16:59:50] "GET > /static/media/css/jquery-ui/ui-lightness/jquery-ui- 1.10.3.custom.min.css > HTTP/1.1" 404 5904[01/Aug/2013 16:59:50] "GET > /static/media/css/bootstrap/bootstrap.css HTTP/1.1" 404 5904[01/Aug/2013 > 16:59:50] "GET /static/media/css/bootstrap/bootstrap-responsive.min.css > HTTP/1.1" 404 5904[01/Aug/2013 16:59:50] "GET /static/media/css/styles.css > HTTP/1.1" 404 5904[01/Aug/2013 16:59:50] "GET > /static/media/js/jquery/jquery-1.9.1.min.js HTTP/1.1" 404 5904[01/Aug/2013 > 16:59:50] "GET /static/media/js/bootstrap/bootstrap.min.js HTTP/1.1" 404 > 5904[01/Aug/2013 16:59:50] "GET > /static/media/js/jquery-ui/jquery-ui-1.10.3.custom.min.js HTTP/1.1" 404 > 5904[01/Aug/2013 16:59 > > -- Cristian Salamea @ovnicraft -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.

