Implement user authentication system with custom user model, views, and templates
- Created custom User model extending Django's AbstractUser. - Added user registration, login, and profile views with corresponding templates. - Implemented user authentication functionality and integrated Bootstrap for styling. - Updated project settings to use the new accounts app and user model. - Added tests for user model and admin functionality.
This commit is contained in:
parent
432d2b7707
commit
faddc4c9b0
22 changed files with 556 additions and 24 deletions
17
core/apps.py
17
core/apps.py
|
|
@ -1,17 +0,0 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class CoreConfig(AppConfig):
|
||||
"""Configuration class for the 'core' Django application.
|
||||
|
||||
Attributes:
|
||||
default_auto_field (str): Specifies the type of auto-created primary key field to use for models in this app.
|
||||
name (str): The full Python path to the application.
|
||||
verbose_name (str): A human-readable name for the application.
|
||||
"""
|
||||
|
||||
default_auto_field: str = "django.db.models.BigAutoField"
|
||||
name = "core"
|
||||
verbose_name: str = "Core Application"
|
||||
Loading…
Add table
Add a link
Reference in a new issue