Closed shobhit10058 closed 3 years ago
@shobhit10058 Looks good! Just create a variable in app.env
called LOGIN_REQUIRED=True
, and make your templates so that if this variable is True
then only your changes show up, otherwise the old website remains.
And yes! The Home button is unnecessary. The MFQP
logo on the left redirects to the homepage.
oh I did not knew about mfqp button.
after login the old website is only there just a home button is extra I will remove it. Do I need to add that variable?
after login
oh, I think you want that the admin has privilege then that for him login will be required or not by default for accessing those options
No, I meant, this login feature should be a configurable option. The system admin might want to switch on/off as per requirements. Remember, we are targetting users from different colleges, not just ours. So it will be good to have options.
Also, we had had quite a debate on this issue in MetaKGP. It's best to keep both.
Hello @shobhit10058! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
should I remove the app.env file here, I kept it as there was a change there so to push I had to change the .gitignore also
Yes remove app.env
done
@grapheo12 is there some error?
is it not used? I have used them that is in the templates but I don't know why it is not working? Can you look once in the code and check the mistake
concerns issue #32. some initial changes for including the register user options. Changes -