Dear Django users.
i am looking for a more straightforward tutorial or notes to perfom an
aphook of my app to the django cms page. I cannot pick the app on the
dropdown menu in my cms pages. Please below cms_app.py.
#####
from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _
class archivesuploads(CMSApp):
app_name = "archivesuploads"
name = _("ARCHIVESUPLOADS")
def get_urls(self, page=None, language=None, **kwargs):
return ["archivesuploads.urls"]
apphook_pool.register(archivesuploads) # 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/CAFZtZmAyRVjj8-znwCH3t40nSUQ%2BBYpqqhZZYnHU_1fQAgkE8w%40mail.gmail.com.