Hi Perceval,

Have you added your page to a route in the urls.py of your archivesuploads
app?

See here http://docs.django-cms.org/en/latest/how_to/apphooks.html for
more details.

El vie., 23 ago. 2019 a las 5:18, Perceval Maturure (<[email protected]>)
escribió:

>
> 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*
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAFZtZmC8wKuG6-0Byz4%2BZMy-FYuhB-qRW_BHahSk2QHbSp8%3DWA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAFZtZmC8wKuG6-0Byz4%2BZMy-FYuhB-qRW_BHahSk2QHbSp8%3DWA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF6hzDNojCd6pzYzrVHhoee_HjgtaF1tzmv5k%3D_%3DGAR7De8xaA%40mail.gmail.com.

Reply via email to