https://github.com/shanu-shahbin/django_user_management_with_postgres
This project demonstrates setting up a Django application with PostgreSQL as the database, bypassing Django's built-in model management. Instead, it uses the psycopg2 module to execute direct SQL queries for CRUD operations. The project requires Python 3.8 or higher, PostgreSQL 12 or higher, and the psycopg2 module.
https://github.com/shanu-shahbin/django_user_management_with_postgres
api django orm postgresql swagger-ui
Last synced: about 2 months ago
JSON representation
This project demonstrates setting up a Django application with PostgreSQL as the database, bypassing Django's built-in model management. Instead, it uses the psycopg2 module to execute direct SQL queries for CRUD operations. The project requires Python 3.8 or higher, PostgreSQL 12 or higher, and the psycopg2 module.
- Host: GitHub
- URL: https://github.com/shanu-shahbin/django_user_management_with_postgres
- Owner: shanu-shahbin
- Created: 2024-08-21T15:50:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T16:11:18.000Z (almost 2 years ago)
- Last Synced: 2025-01-21T00:15:23.049Z (over 1 year ago)
- Topics: api, django, orm, postgresql, swagger-ui
- Language: HTML
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Django User Management with PostgreSQL
This project demonstrates how to set up a Django application using PostgreSQL as the database, with Django's built-in model management disabled. Instead, the psycopg2 module is used to execute SQL queries directly for CRUD operations.
Installation and Configuration
Prerequisites
Python 3.8 or higher
PostgreSQL 12 or higher
psycopg2 module for PostgreSQL connectivity
Database Setup
Create the PostgreSQL Database:
Create a PostgreSQL database named user_management using SQL queries or a graphical tool like pgAdmin.

psql working


the templete output images


