Commit graph

6 commits

Author SHA1 Message Date
7cc291d758
fix: address formatting and configuration inconsistencies
Some checks are pending
Docker / build (push) Waiting to run
- 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.
2024-11-12 13:45:40 +01:00
7012c1a2b1
feat(admin): expand model registrations
Some checks are pending
Docker / build (push) Waiting to run
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.
2024-11-12 10:33:47 +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
d87ed7bccc
feat(admin): register Coin model in admin site
Some checks are pending
Docker / build (push) Waiting to run
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.
2024-11-12 08:15:19 +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