Closed AleksandrAtr closed 6 months ago
User story reference #20
Create a base.html template: Developed a base HTML template serving as the foundation for all other templates in the project, facilitating consistent layout and structure across pages.
Establish a static folder for CSS, JS, and images: Created a designated directory within the project structure to store static assets such as CSS stylesheets, JavaScript files, and images, ensuring separation of concerns and organized asset management.
Implement a base cascading style sheet (CSS) in the static folder: Developed a base CSS file containing global styles and rules to be applied across the entire website, ensuring a unified visual identity and user experience.
Register the static folder in settings.py for accessibility: Updated the Django project settings to include the static folder as a recognized directory for serving static files, enabling Django to locate and serve static assets during runtime.
Create a new app named "home" for the homepage: Created a dedicated Django application named "About" instead of "home" to handle the presentation of information related to the business and its services, ensuring clear separation of concerns and modularity in application design.
Register the "home" app in settings.py: Integrated the newly created "About" app into the Django project by registering it within the project settings, allowing Django to recognize and utilize the app's components and features.
Define URLs for the homepage within the "home" app's urls.py file: Configured URL routing for the About page within the "About" app's urls.py file, specifying the URL pattern and corresponding view function or template to be rendered when users access the homepage URL.
Task completed.