Skip to content

This is a simple blog application built with Django. It demonstrates basic CRUD operations (Create, Read, Update, Delete) with Django's models, views, and templates.

License

Notifications You must be signed in to change notification settings

moraneus/django-blog-application-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Blog Application

This is a simple blog application built with Django. It demonstrates basic CRUD operations (Create, Read, Update, Delete) with Django's models, views, and templates. The application also includes search functionality and utilizes curl commands for API testing. If you want to gets more about this project please visit in my blog.

Project Structure

django-project/
    manage.py
    django-project/
        __init__.py
        settings.py
        urls.py
        wsgi.py
        asgi.py
    blog/
        __init__.py
        admin.py
        apps.py
        migrations/
        models.py
        tests.py
        views.py
        templates/
            blog/
                post_list.html
                post_detail.html
                create_post.html
                update_post.html
        static/
            blog/
                style.css
        urls.py

Setup Instructions

Prerequisites

  • Python 3.x
  • Django 3.x or higher

Installation

  1. Clone the repository:
git clone https://github.com/moraneus/django-blog-application-tutorial.git
cd django-blog-application-tutorial
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. Install dependencies:
pip install django
  1. Apply migrations:
python manage.py makemigrations blog
python manage.py migrate 
  1. Create a superuser:
python manage.py createsuperuser
  1. Run the development server:
python manage.py runserver 

About

This is a simple blog application built with Django. It demonstrates basic CRUD operations (Create, Read, Update, Delete) with Django's models, views, and templates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published