Re: The import staticfiles_urlpatterns is not working in django 1.3

2011-04-21 Thread Ernesto Guevara
Hello Brian! This right, in fact that word "import" I inadvertently pasted, but the import does not work. from django.contrib.staticfiles.urls import staticfiles_urlpatterns The problem was that when doing the import, it does not appear available by pressing ctrl + backspace in Eclipse, that is,

Re: The import staticfiles_urlpatterns is not working in django 1.3

2011-04-21 Thread Brian Neal
On Apr 21, 12:48 pm, Guevara wrote: > Hello! > My project is failing to import the staticfiles_urlpatterns, using > Eclipse Helios: > > urls.py > > import from django.contrib.staticfiles.urls staticfiles_urlpatterns > > In django 1.3 I already have: > > INSTALLED_APPS = (

Re: The import staticfiles_urlpatterns is not working in django 1.3

2011-04-21 Thread Guevara
The problem was the documentation, the manual of utilization says one thing, but the Contrib documentation says another, I follow contrib doc: This is the configuration that worked: settings.py STATIC_ROOT = '' STATIC_URL = '/static/' STATICFILES_DIRS = (

The import staticfiles_urlpatterns is not working in django 1.3

2011-04-21 Thread Guevara
Hello! My project is failing to import the staticfiles_urlpatterns, using Eclipse Helios: urls.py import from django.contrib.staticfiles.urls staticfiles_urlpatterns In django 1.3 I already have: INSTALLED_APPS = ( 'django.contrib.staticfiles' ) In the folder: /