python - How to save the global variable value in Django and how to get that saved value if I reloads the page? -


i have 1 webpage track user tasks every day. want freeze date user cannot able edit data before date. done admin.so declare global variable(flag) in views.py , when admin freezing date value assigned true. when user logged in value not changed. how can this?


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -