I am deploying site to divio server with django and django-cms. I do R&D but not found much information about this.
Facing Error: Reverse for 'filer_folder_changelist' not found. 'filer_folder_changelist' is not a valid view function or pattern name.
Exception Type: NoReverseMatch Exception Value: Reverse for 'filer_folder_changelist' not found. 'filer_folder_changelist' is not a valid view function or pattern name. Exception Location: /virtualenv/lib/python3.5/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 497 Python Executable: /virtualenv/bin/uwsgi
{% cms_toolbar %}
**urls.py:**
] + aldryn_addons.urls.patterns() + i18n_patterns(
# test urls
url(r'^admin-cms/', include(admin.site.urls)), # NOQA
url(r'^django-cms/', include('cms.urls')),
url(r'^django-cms1/',include('aldryn_django_cms.urls')),
url(r'^test4/$',views.test4,),
# ends here ~ test urls
# add your own i18n patterns here
*aldryn_addons.urls.i18n_patterns() # MUST be the last entry!
)
cms_toolbar.py
def populate(self):
media_library = _('Media library')
admin_menu = self.toolbar.get_or_create_menu(ADMIN_MENU_IDENTIFIER)
admin_menu.add_sideframe_item(
media_library,
url=reverse('admin:filer_folder_changelist'),
position=self.get_insert_position(admin_menu, media_library)
)
I fixed this error by change settings.py.. Add below things in installed app in settings.py: