Skip to content

A repository documenting my journey learning Django. Includes notes on setting up Django projects, basic views, templates, static files, creating apps, and integrating Tailwind CSS. it also cover advanced topics such as Django relationship models, handling models and URLs, Django forms, and a full-stack project as well

Notifications You must be signed in to change notification settings

omkarkhoche3448/Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Django Project

Overview

This is a Django application designed to demonstrate Django functionality and basic project structure.

Project Structure

  • DjangoProject/: Contains project settings and configurations.
  • djangoApp/: Placeholder for Django app code.
  • media/: User-uploaded media files.
  • static/: Static files (CSS, JavaScript).
  • templates/: HTML templates.
  • theme/: Additional styling themes.
  • db.sqlite3: SQLite database file.
  • manage.py: Django management script.

Setup

  1. Clone the Repository:

    git clone https://github.com/omkarkhoche3448/Django.git
    cd Django
  2. Create and Activate a Virtual Environment:

    • On macOS/Linux:

      python -m venv .venv
      source .venv/bin/activate
    • On Windows:

      python -m venv .venv
      .venv\Scripts\activate
  3. Install Dependencies:

    pip install -r requirements.txt
  4. Apply Migrations:

    python manage.py migrate
  5. Create a Superuser (Optional):

    If you need an admin user, create one by running:

    python manage.py createsuperuser
  6. Collect Static Files:

    python manage.py collectstatic
  7. Run the Development Server:

    python manage.py runserver

    Open your browser and navigate to http://127.0.0.1:8000/ to see the running application.

Notion Notes

For additional details, visit the Notion page: Django Project Notes

About

A repository documenting my journey learning Django. Includes notes on setting up Django projects, basic views, templates, static files, creating apps, and integrating Tailwind CSS. it also cover advanced topics such as Django relationship models, handling models and URLs, Django forms, and a full-stack project as well

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published