Panel Registration
I am trying to develop a student application system in which I have two panels - one for applicants and other admin.
The students should be able to register and then fill up the application form and pay for the application. However, I want to open registration from a particular date and close it on another date.
One thing I have thought is to create a middleware, say RegistrationOpenMiddleware, which will redirect all requests to the register route to the home page outside of the duration of registration.
I am not sure that it is the best way to achieve this, any suggestions will be of great help.
The students should be able to register and then fill up the application form and pay for the application. However, I want to open registration from a particular date and close it on another date.
One thing I have thought is to create a middleware, say RegistrationOpenMiddleware, which will redirect all requests to the register route to the home page outside of the duration of registration.
I am not sure that it is the best way to achieve this, any suggestions will be of great help.