aldryn / aldryn-blog

aldryn-blog IS DEPRECATED. PLEASE USE aldryn-newsblog!
Other
20 stars 35 forks source link

TemplateDoesNotExist at /admin/aldryn_blog/category/add/ #66

Closed jdcarvalho closed 9 years ago

jdcarvalho commented 10 years ago

When I am using admin interface to Aldryn Blog's application I am receiving Django template-loader postmortem Error.

My Installed apps are

('djangocms_admin_style', 'djangocms_text_ckeditor', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'django.contrib.messages', 'cms', 'mptt', 'menus', 'south', 'sekizai', 'djangocms_style', 'djangocms_column', 'djangocms_file', 'djangocms_flash', 'djangocms_googlemap', 'djangocms_inherit', 'djangocms_link', 'djangocms_picture', 'djangocms_teaser', 'djangocms_video', 'reversion', 'defesa_vida', 'aldryn_common', 'aldryn_blog', 'django_select2', 'djangocms_text_ckeditor', 'easy_thumbnails', 'filer', 'taggit')

Does anyone had one idea to this? Thanks in advance

corpulent commented 10 years ago

Having the same issue, looks like the template does not exist...
TemplateDoesNotExist at /en-us/admin/aldryn_blog/category/add/ admin/hvad/change_form.html

Im using Django CMS 3.

corpulent commented 10 years ago

I think the solution is that hvad is not installed, and aldryn_blog categories depend on django-hvad for translations it seems. https://github.com/kristianoellegaard/django-hvad

pip install django-hvad and make sure to add it to your setting.py in INSTALLED_APPS

INSTALLED_APPS = (
   ...
    'hvad',
   ...
growlf commented 9 years ago

Had this issue and same solution. I noticed that the docs (README.rst) do not currently seem to list 'hvad' as a requirement in the example settings.py snippet (even though it is correctly required in the setup.py for the package). This should probably be added, to avoid further confusion. I have added it to my fork, but I doubt that a pull request for just this is appropriate.

czpython commented 9 years ago

Fixed by 0b4746643cf1743cc6c7cd91e7b99248041c61a2. Thanks.