What about your urls.py? Kenny
On Sun, Jun 26, 2011 at 1:15 PM, vahidR <vahid.raf...@gmail.com> wrote: > Hi There, > > I have a very basic question about adding images to Django 1.3. > I've almost read the whole documents on adding Static files , searched > for relevant results both in here and StackOverFlow and still have a > problem with my case. > > Please take a look at my settings : > > STATIC_ROOT = '/home/vahid/Aptana3Workspace/djangoshop/djangoShop/ > static' > > STATIC_URL = '/static/' > > STATICFILES_DIRS = (STATIC_ROOT , ) > > I did the last one to avoid collision between ROOT and DIRS and make > it more simple to implement the idea. > > I have also added some stuff to settings.py as : > > STATICFILES_FINDERS = ( > 'django.contrib.staticfiles.finders.FileSystemFinder', > 'django.contrib.staticfiles.finders.AppDirectoriesFinder', > 'django.contrib.staticfiles.finders.DefaultStorageFinder', > ) > > INSTALLED_APPS = (..... > 'django.contrib.staticfiles', > ......... > ) > > > But I still have a problem with loading the images (for example: > logo.jpg) > > > Would you please help me to get it done ?? > What is a simple way to load images in the developing environment ?? > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.