Updated file paths to use `BASE_DIR` from Django settings instead of hardcoded paths. This change enhances flexibility and simplifies configuration management as file paths are now dynamically resolved relative to the project base directory.
Replaced pygsheets-based Google Sheets handling with pandas to read and write to local Excel files. Updated exception handling to include `TypeError`. This change enhances performance and reliability by avoiding network dependencies and directly interacting with local files.
Fixes issues with unauthorized access and inefficient data handling.
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.
Introduced a TODO comment indicating the need to fix the current use of the Reddit API in `synchronous.py`. The placeholder set due to the unavailability of `PushshiftAPI` ensures the application avoids runtime errors. This change communicates the need for further attention to this part of the codebase.
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.
- Add '.vscode/' to '.gitignore' to exclude editor settings.
- Improve readability by converting single quotes to double quotes and reformatting long lines in Django settings and URLs.
- Relocate the SQLite database path to a more standard location.
- Enhance environment flexibility by adding dynamic handling for allowed hosts.
- Remove deprecated database dependency in requirements.
These updates enhance code clarity and maintainability, and prepare the codebase for potential migration to a more dynamic server configuration setup.
Added several additional models to the Django admin interface, enhancing manageability and oversight for admins. This allows for streamlined administration of Dominance, P2Pool, Rank, Sfmodel, Social, and Withdrawal models. This update supports improved efficiency in monitoring and editing these entities.
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.
Add the Coin model to the Django admin interface for easier management of coin data through the admin panel. This provides administrators with a graphical interface to directly view, edit, and maintain instances of the Coin model within the application.