Commit graph

5 commits

Author SHA1 Message Date
fa5c3aaa7b
refactor: switch to pandas for data extraction
Some checks are pending
Docker / build (push) Waiting to run
Replaced pygsheets with pandas and removed dependency on Google Sheets for data extraction, leveraging local spreadsheet files instead. This improves reliability and simplifies setup by avoiding external API dependencies. Updated code to handle data conversion and string checks ensuring data consistency. Adjusted settings to accommodate new input file.
2024-11-13 10:08:39 +01:00
8e48bce180
refactor: apply consistent string styling and error handling
Some checks are pending
Docker / build (push) Waiting to run
Applied consistent use of double quotes for strings across the codebase to improve readability and maintain consistency. Updated exception handling to explicitly catch specific exceptions for better error management. Refactored context and view functions for cleaner and more structured output. Removed unused imports and unnecessary comments to streamline the code.
2024-11-12 14:09:33 +01:00
7ada7f9d26
refactor(auth): use is_superuser check for admin actions
Some checks are pending
Docker / build (push) Waiting to run
Replaced specific username checks for "Administrator" with `is_superuser`
attribute to determine admin access. This improves security and flexibility
by leveraging Django's built-in permissions and roles system, facilitating
maintenance and potential role adjustments without code changes.
2024-11-12 08:32:48 +01:00
w
e35c85dac4 fix spacing and typos 2024-11-12 01:19:52 +01:00
w
bec3f6095b organize files to use with Docker 2024-11-11 23:58:39 +01:00
Renamed from charts/views.py (Browse further)