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
- Host: GitHub
- URL: https://github.com/andrewjbateman/python-django-site
- Owner: AndrewJBateman
- Created: 2020-12-12T16:12:08.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-22T15:37:08.000Z (over 4 years ago)
- Last Synced: 2024-12-27T02:44:48.122Z (about 1 year ago)
- Topics: python-django
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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_




## :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

## :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