python-web-dev-21-2-jason/README.md

52 lines
972 B
Markdown
Raw Permalink Normal View History

2020-10-18 22:53:02 +11:00
# Read Me
This is repository to practise Python + Django following **Web Development in Python with Django: Building Backend Web Applications and APIs with Django**
## Add app in django
2020-10-18 23:25:17 +11:00
* add in `config/settings.py`
## Models
Project Features
* Basic blogs with Blog Posts
* Categorize startup businesses using Startup and Tags
* Link to news articles about a specific startup (NewsLinks)
* All objects appear in site URL:URIs necessitate slugs
Tag objects:
* name
* e.g.: Web Development, Django
* slug (to identity)
* e.g.: web-development, django
Startup Objects:
* name
* slug
* description
* date founded
* contact
* website link
News Link Objects:
* title
* slug
* date published
* link to article
* startup
Blog Post Objects:
* title
* slug
* text
* date published
Object Relations:
* One-To-One
* One-To-Many
* Many-To-One: NewsLink refers to a single Startup
* Many-To-Many:
* Tags and Startups
* Blog Posts and Tags
* Blog Posts and Startups