style: standardize string formatting and improve readability across multiple files
- Refactored string formatting in various files to use consistent double quotes. - Improved readability by adding newlines in function definitions and method calls. - Cleaned up unnecessary imports and ensured proper spacing for better code clarity. - Updated management commands and context processors for consistent formatting. - Enhanced the overall maintainability of the codebase by adhering to PEP 8 guidelines. - Applied Ruff linting and formatting
This commit is contained in:
parent
4b9e4f651e
commit
39a002e394
43 changed files with 1661 additions and 1159 deletions
|
|
@ -1,12 +1,14 @@
|
|||
from django.conf import settings
|
||||
|
||||
|
||||
def cache_settings(request):
|
||||
return {
|
||||
'CACHE_TIMEOUT': settings.CACHE_TIMEOUT,
|
||||
"CACHE_TIMEOUT": settings.CACHE_TIMEOUT,
|
||||
}
|
||||
|
||||
|
||||
def version_info(request):
|
||||
return {
|
||||
'VERSION': settings.VERSION,
|
||||
'VERSION_INFO': settings.VERSION_INFO,
|
||||
}
|
||||
"VERSION": settings.VERSION,
|
||||
"VERSION_INFO": settings.VERSION_INFO,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue