How to customize LoginForm using django-mama-cas

I want to use django-mama-cas to complete the CAS login, but the login module that comes with the system is a little too simple. I want to add something by myself, but Form cannot set its own defined Form (LOGIN Template in the setting file. I would like to ask you to customize Form? like this at this time. At present, we are going to modify the source code of django-mama-cas directly, but this is not good, is it?

Mar.04,2021

excuse me, is there any other way to implement the modification?

  • Where should I put the django general template file?

    where should I put the general template files in the django project? create a templates directory under the root directory of the project to store general templates such as base.html, and then add this directory to the TEMPLATE DIRS of settings.py? or ...

    Apr.02,2021
Menu