I've been working on a django project for a while now, and I'm facing some challenges with getting external and internal CSS to work. Only inline CSS seems to be functioning properly. I have two questions:
How can I get external or internal CSS and jQuery to work? I tried running the collectstatic command, added STATIC_URL, STATIC_DIR, etc., and included the CSS and jQuery file paths in my HTML.
How can I enhance the appearance of my registration/login forms? I attempted to use django_crispy_forms but did not achieve the desired outcome.
Thank you in advance for your assistance.
settings.py
import os
# Build paths within the project using: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
TEMPLATE_DIR = os.path.join(BASE_DIR, "templates")
STATIC_DIR = os.path.join(BASE_DIR, "static")
MEDIA_DIR = os.path.join(BASE_DIR, "media")
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
AUTH_USER_MODEL = "website.User"
...
main html file
...
my registration page html
...
View my login page design here
Desired visual result - aiming for the login page and registration to resemble this