Dear Django users
below is my django cms apphook, its showing the app on the drop down but it doesn't hook the application to a page. I have tried the below tutorial. i would be happy if one can share a working manual.
from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _
class ArchivesuploadsApphook(CMSApp):
app_name = "archivesuploads"
name = _("Publications Application")
def get_urls(self, page=None, language=None, **kwargs):
return ["archivesuploads.urls"]
apphook_pool.register(ArchivesuploadsApphook) # register the application
--
Perceval Maturure
083 303 9423