{"id":20455333,"url":"https://github.com/alexmhack/django_postgresql","last_synced_at":"2025-06-28T07:34:39.533Z","repository":{"id":114089364,"uuid":"144005295","full_name":"Alexmhack/django_postgresql","owner":"Alexmhack","description":"using postgresql database with django","archived":false,"fork":false,"pushed_at":"2019-11-04T13:05:58.000Z","size":1661,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T01:03:14.898Z","etag":null,"topics":["beginner-project","django-postgresql","django-project","postgresql-database","python3"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alexmhack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-08-08T11:39:39.000Z","updated_at":"2024-07-11T13:22:50.000Z","dependencies_parsed_at":"2023-06-12T13:15:43.121Z","dependency_job_id":null,"html_url":"https://github.com/Alexmhack/django_postgresql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Alexmhack/django_postgresql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexmhack%2Fdjango_postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexmhack%2Fdjango_postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexmhack%2Fdjango_postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexmhack%2Fdjango_postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alexmhack","download_url":"https://codeload.github.com/Alexmhack/django_postgresql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alexmhack%2Fdjango_postgresql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262393006,"owners_count":23304032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beginner-project","django-postgresql","django-project","postgresql-database","python3"],"created_at":"2024-11-15T11:18:35.357Z","updated_at":"2025-06-28T07:34:39.526Z","avatar_url":"https://github.com/Alexmhack.png","language":"JavaScript","readme":"# django_postgresql\nusing postgresql database with django\n\n# INSTALLATION\nInstall the postgresql database in your local computer first from the .exe file on the offical site.\n\nInstall the postgresql package for python - psycopg2 using pip in virtualenv\n\n# CONFIGURE\nCreate a new virtualenv and then install all the dependencies for our project there\n\nCreate a new django project\n\nCreate a new database using the postgresql command line.\n\nCREATE DATABASE blog\n\nInside our django project settings.py, set the database as the postgresql like so,\n\n```\n    'default': {\n        'ENGINE': 'django.db.backends.postgresql',\n        'NAME': 'blog',\n        'USER': 'postgres',\n        'PASSWORD': 'admin',\n        'HOST': 'localhost',\n        'PORT': '',\n}\n```\n\n# DJANGO USAGE\nJust create models and run makemigrations and migrate command, the new database should work fine.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmhack%2Fdjango_postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexmhack%2Fdjango_postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmhack%2Fdjango_postgresql/lists"}