[Answered ]-Django Registration with Django cms

2đź‘Ť

You need to add an AppHook for Django-Registration. So what I did was:

  • create a new app called “cmsauth”
  • create the according cms_apps.py:

    from cms.app_base import CMSApp
    from cms.apphook_pool import apphook_pool
    from django.utils.translation import ugettext_lazy as _
    
    class RegistrationApphook(CMSApp):
        name = _("RegistrationApphook")
        urls = ["registration.backends.hmac.urls"]
    
    apphook_pool.register(RegistrationApphook)
    
  • create a CMS Page like “Accounts”

  • link the AppHook RegistrationApphook (you might need to restart server for it to become available)

Now you should be able to reach the URLs.

👤Özer

Leave a comment