Upload ok, no display

49 views
Skip to first unread message

Vincent Desprez

unread,
Sep 13, 2011, 7:08:44 AM9/13/11
to django-p...@googlegroups.com
Hi everyone,
As a newby in django and photologue I surely have badly set my project settings. I can upload some photos and see thew via the folders browser, even with the "cache" folder created by photologue, but I can’t have any display of them (both in admin interface and in the detail view). Find attached my settings.py.
And there it is the rendered error message:

Using the URLconf defined in bloghk.urls, Django tried these URL patterns, in this order:

  1. ^(?P<bill_id>\d+)/comments/$
  2. ^admin/doc/
  3. ^admin/
  4. ^$ [name='home']
  5. ^photologue/ ^gallery/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[\-\d\w]+)/$ [name='pl-gallery-detail']
  6. ^photologue/ ^gallery/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$ [name='pl-gallery-archive-day']
  7. ^photologue/ ^gallery/(?P<year>\d{4})/(?P<month>[a-z]{3})/$ [name='pl-gallery-archive-month']
  8. ^photologue/ ^gallery/(?P<year>\d{4})/$ [name='pl-gallery-archive-year']
  9. ^photologue/ ^gallery/?$ [name='pl-gallery-archive']
  10. ^photologue/ ^gallery/(?P<slug>[\-\d\w]+)/$ [name='pl-gallery']
  11. ^photologue/ ^gallery/page/(?P<page>[0-9]+)/$ [name='pl-gallery-list']
  12. ^photologue/ ^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?P<slug>[\-\d\w]+)/$ [name='pl-photo-detail']
  13. ^photologue/ ^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$ [name='pl-photo-archive-day']
  14. ^photologue/ ^photo/(?P<year>\d{4})/(?P<month>[a-z]{3})/$ [name='pl-photo-archive-month']
  15. ^photologue/ ^photo/(?P<year>\d{4})/$ [name='pl-photo-archive-year']
  16. ^photologue/ ^photo/$ [name='pl-photo-archive']
  17. ^photologue/ ^photo/(?P<slug>[\-\d\w]+)/$ [name='pl-photo']
  18. ^photologue/ ^photo/page/(?P<page>[0-9]+)/$ [name='pl-photo-list']

The current URL, photologue/photos/2011-01-16/cache/IMGP0860_1_admin_thumbnail.JPG, didn't match any of these.



Thanks for help

Vincent


settings.py
Reply all
Reply to author
Forward
0 new messages