An open API service indexing awesome lists of open source software.

https://github.com/andrewjbateman/python-django-site

:clipboard: Python Django website. Incomplete
https://github.com/andrewjbateman/python-django-site

python-django

Last synced: 7 months ago
JSON representation

:clipboard: Python Django website. Incomplete

Awesome Lists containing this project

README

          

# :zap: Python Django Site

* Python-Django app to display a website
* Code from a tutorial by [Davidd That's Me](https://www.youtube.com/channel/UC7NJLsf6IonOy8QI8gt5BeA) - see [:clap: Inspiration](#clap-inspiration) below
* **Note:** to open web links in a new window use: _ctrl+click on link_

![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/python-django-site?style=plastic)
![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/python-django-site?style=plastic)
![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/python-django-site?style=plastic)
![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/python-django-site?style=plastic)

## :page_facing_up: Table of contents

* [:zap: Python Django Site](#zap-python-django-site)
* [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)
* [:books: General info](#books-general-info)
* [:camera: Screenshots](#camera-screenshots)
* [:signal_strength: Technologies](#signal_strength-technologies)
* [:floppy_disk: Setup](#floppy_disk-setup)
* [:computer: Code Examples](#computer-code-examples)
* [:cool: Features](#cool-features)
* [:clipboard: Status & To-do list](#clipboard-status--to-do-list)
* [:clap: Inspiration](#clap-inspiration)
* [:envelope: Contact](#envelope-contact)

## :books: General info

* simple website - part complete

## :camera: Screenshots

![screen print](./img/admin.png)

## :signal_strength: Technologies

* [Python v3](https://www.python.org/) programming language
* [Django v3](https://www.djangoproject.com/) server-side web framework

## :floppy_disk: Setup

* [Install Python](https://docs.python-guide.org/starting/installation/)
* [Install pip](https://docs.python-guide.org/dev/virtualenvs/#installing-pipenv)
* [Install Django](https://docs.djangoproject.com/en/3.1/howto/windows/) by typing `pip install Django`
* Run `django-admin startproject example_proj` to create a new project [ref. docs](https://docs.djangoproject.com/en/3.1/intro/tutorial01/)
* Open `example_proj` in VS Code
* Run `python manage.py startapp new_module` to create Python module
* Add code
* Run `pip freeze` to see list of modules installed. [Ref. Docs](https://pip.pypa.io/en/stable/reference/pip_freeze/)
* Run `python manage.py makemigrations` for changes to models etc.
* Run `python manage.py migrate` to migrate the migration files.
* To add a superuser Run `python manage.py createsuperuser --username=joe --email=joe@example.com` [Ref. Docs](https://docs.djangoproject.com/en/3.1/topics/auth/default/)
* Run `python manage.py runserver` to run server on port 8000 and open /admin console

## :computer: Code Examples

* tba

```python

```

## :cool: Features

* tba

## :clipboard: Status & To-do list

* Status: In progress
* To-do: Complete

## :clap: Inspiration

* Youtube tutorials from 'Davidd That's Me'
* [Getting started with Python Django Tutorial #1 - How to build a website in Python](https://www.youtube.com/watch?v=6G5Pdyo_msU)
* [Getting started with Python Django Tutorial #2 - Apps Website in Python](https://www.youtube.com/watch?v=yNU-KEETBvE)
* [Getting started with Python Django Tutorial #3 | Learn Django & Python | Templates](https://www.youtube.com/watch?v=AX9RcA-P4VI)

## :file_folder: License

* N/A

## :envelope: Contact

* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com